From 729051b6641130047641378adeae19cad3f9b15d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 19 Aug 2022 21:49:53 +0000 Subject: [PATCH 1/2] feat: added support for `force` field for API and API version deletion docs: updated proto comments to align with the public documentation Clients can now set the `force` field while sending delete request to allow cascade deletion of resources in the registry. PiperOrigin-RevId: 468760464 Source-Link: https://github.com/googleapis/googleapis/commit/b965a25493252b21814d7ebe06572baf169efa97 Source-Link: https://github.com/googleapis/googleapis-gen/commit/918d6fd0fb5419ed91f679a1b4f8fc5ae51affb7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTE4ZDZmZDBmYjU0MTllZDkxZjY3OWExYjRmOGZjNWFlNTFhZmZiNyJ9 --- .../apigeeregistry/v1/ProvisioningGrpc.java | 593 --- .../cloud/apigeeregistry/v1/RegistryGrpc.java | 4413 ----------------- .../apigeeregistry/v1/ProvisioningClient.java | 16 +- .../v1/ProvisioningSettings.java | 7 +- .../apigeeregistry/v1/RegistryClient.java | 606 +-- .../apigeeregistry/v1/RegistrySettings.java | 19 +- .../apigeeregistry/v1/gapic_metadata.json | 0 .../cloud/apigeeregistry/v1/package-info.java | 0 .../stub/GrpcProvisioningCallableFactory.java | 0 .../v1/stub/GrpcProvisioningStub.java | 1 + .../v1/stub/GrpcRegistryCallableFactory.java | 0 .../v1/stub/GrpcRegistryStub.java | 1 + .../HttpJsonProvisioningCallableFactory.java | 0 .../v1/stub/HttpJsonProvisioningStub.java | 1 + .../stub/HttpJsonRegistryCallableFactory.java | 0 .../v1/stub/HttpJsonRegistryStub.java | 2 + .../v1/stub/ProvisioningStub.java | 0 .../v1/stub/ProvisioningStubSettings.java | 6 +- .../apigeeregistry/v1/stub/RegistryStub.java | 0 .../v1/stub/RegistryStubSettings.java | 51 +- .../apigeeregistry/v1/MockIAMPolicy.java | 0 .../apigeeregistry/v1/MockIAMPolicyImpl.java | 0 .../apigeeregistry/v1/MockLocations.java | 0 .../apigeeregistry/v1/MockLocationsImpl.java | 0 .../apigeeregistry/v1/MockProvisioning.java | 0 .../v1/MockProvisioningImpl.java | 0 .../cloud/apigeeregistry/v1/MockRegistry.java | 0 .../apigeeregistry/v1/MockRegistryImpl.java | 0 .../v1/ProvisioningClientHttpJsonTest.java | 0 .../v1/ProvisioningClientTest.java | 0 .../v1/RegistryClientHttpJsonTest.java | 0 .../apigeeregistry/v1/RegistryClientTest.java | 0 .../apigeeregistry/v1/ProvisioningGrpc.java | 480 ++ .../cloud/apigeeregistry/v1/RegistryGrpc.java | 3287 ++++++++++++ .../google/cloud/apigeeregistry/v1/Api.java | 1570 +++--- .../apigeeregistry/v1/ApiDeployment.java | 1980 +++----- .../apigeeregistry/v1/ApiDeploymentName.java | 0 .../v1/ApiDeploymentOrBuilder.java | 248 +- .../cloud/apigeeregistry/v1/ApiName.java | 0 .../cloud/apigeeregistry/v1/ApiOrBuilder.java | 200 +- .../cloud/apigeeregistry/v1/ApiSpec.java | 1875 +++---- .../cloud/apigeeregistry/v1/ApiSpecName.java | 0 .../apigeeregistry/v1/ApiSpecOrBuilder.java | 232 +- .../cloud/apigeeregistry/v1/ApiVersion.java | 1365 +++-- .../apigeeregistry/v1/ApiVersionName.java | 0 .../v1/ApiVersionOrBuilder.java | 164 +- .../cloud/apigeeregistry/v1/Artifact.java | 817 ++- .../cloud/apigeeregistry/v1/ArtifactName.java | 0 .../apigeeregistry/v1/ArtifactOrBuilder.java | 85 +- .../v1/CreateApiDeploymentRequest.java | 589 +-- .../CreateApiDeploymentRequestOrBuilder.java | 68 +- .../apigeeregistry/v1/CreateApiRequest.java | 587 +-- .../v1/CreateApiRequestOrBuilder.java | 73 +- .../v1/CreateApiSpecRequest.java | 584 +-- .../v1/CreateApiSpecRequestOrBuilder.java | 68 +- .../v1/CreateApiVersionRequest.java | 581 +-- .../v1/CreateApiVersionRequestOrBuilder.java | 68 +- .../v1/CreateArtifactRequest.java | 581 +-- .../v1/CreateArtifactRequestOrBuilder.java | 68 +- .../v1/CreateInstanceRequest.java | 567 +-- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteApiDeploymentRequest.java | 401 +- .../DeleteApiDeploymentRequestOrBuilder.java | 42 + .../DeleteApiDeploymentRevisionRequest.java | 392 +- ...ApiDeploymentRevisionRequestOrBuilder.java | 35 + .../apigeeregistry/v1/DeleteApiRequest.java | 436 +- .../v1/DeleteApiRequestOrBuilder.java | 42 + .../v1/DeleteApiSpecRequest.java | 393 +- .../v1/DeleteApiSpecRequestOrBuilder.java | 42 + .../v1/DeleteApiSpecRevisionRequest.java | 377 +- ...DeleteApiSpecRevisionRequestOrBuilder.java | 35 + .../v1/DeleteApiVersionRequest.java | 439 +- .../v1/DeleteApiVersionRequestOrBuilder.java | 42 + .../v1/DeleteArtifactRequest.java | 356 +- .../v1/DeleteArtifactRequestOrBuilder.java | 31 + .../v1/DeleteInstanceRequest.java | 342 +- .../v1/DeleteInstanceRequestOrBuilder.java | 31 + .../v1/GetApiDeploymentRequest.java | 356 +- .../v1/GetApiDeploymentRequestOrBuilder.java | 31 + .../apigeeregistry/v1/GetApiRequest.java | 350 +- .../v1/GetApiRequestOrBuilder.java | 31 + .../v1/GetApiSpecContentsRequest.java | 363 +- .../GetApiSpecContentsRequestOrBuilder.java | 31 + .../apigeeregistry/v1/GetApiSpecRequest.java | 353 +- .../v1/GetApiSpecRequestOrBuilder.java | 31 + .../v1/GetApiVersionRequest.java | 356 +- .../v1/GetApiVersionRequestOrBuilder.java | 31 + .../v1/GetArtifactContentsRequest.java | 364 +- .../GetArtifactContentsRequestOrBuilder.java | 31 + .../apigeeregistry/v1/GetArtifactRequest.java | 356 +- .../v1/GetArtifactRequestOrBuilder.java | 31 + .../apigeeregistry/v1/GetInstanceRequest.java | 342 +- .../v1/GetInstanceRequestOrBuilder.java | 31 + .../cloud/apigeeregistry/v1/Instance.java | 1395 ++---- .../cloud/apigeeregistry/v1/InstanceName.java | 0 .../apigeeregistry/v1/InstanceOrBuilder.java | 108 +- .../v1/ListApiDeploymentRevisionsRequest.java | 491 +- ...piDeploymentRevisionsRequestOrBuilder.java | 47 +- .../ListApiDeploymentRevisionsResponse.java | 482 +- ...iDeploymentRevisionsResponseOrBuilder.java | 45 +- .../v1/ListApiDeploymentsRequest.java | 557 +-- .../ListApiDeploymentsRequestOrBuilder.java | 60 +- .../v1/ListApiDeploymentsResponse.java | 454 +- .../ListApiDeploymentsResponseOrBuilder.java | 45 +- .../v1/ListApiSpecRevisionsRequest.java | 473 +- .../ListApiSpecRevisionsRequestOrBuilder.java | 47 +- .../v1/ListApiSpecRevisionsResponse.java | 484 +- ...ListApiSpecRevisionsResponseOrBuilder.java | 45 +- .../v1/ListApiSpecsRequest.java | 550 +- .../v1/ListApiSpecsRequestOrBuilder.java | 60 +- .../v1/ListApiSpecsResponse.java | 463 +- .../v1/ListApiSpecsResponseOrBuilder.java | 45 +- .../v1/ListApiVersionsRequest.java | 550 +- .../v1/ListApiVersionsRequestOrBuilder.java | 60 +- .../v1/ListApiVersionsResponse.java | 461 +- .../v1/ListApiVersionsResponseOrBuilder.java | 45 +- .../apigeeregistry/v1/ListApisRequest.java | 547 +- .../v1/ListApisRequestOrBuilder.java | 60 +- .../apigeeregistry/v1/ListApisResponse.java | 459 +- .../v1/ListApisResponseOrBuilder.java | 46 +- .../v1/ListArtifactsRequest.java | 550 +- .../v1/ListArtifactsRequestOrBuilder.java | 60 +- .../v1/ListArtifactsResponse.java | 463 +- .../v1/ListArtifactsResponseOrBuilder.java | 45 +- .../cloud/apigeeregistry/v1/LocationName.java | 0 .../apigeeregistry/v1/OperationMetadata.java | 771 ++- .../v1/OperationMetadataOrBuilder.java | 73 +- .../v1/ProvisioningServiceProto.java | 184 + .../v1/RegistryModelsProto.java | 290 ++ .../v1/RegistryServiceProto.java | 891 ++++ .../v1/ReplaceArtifactRequest.java | 410 +- .../v1/ReplaceArtifactRequestOrBuilder.java | 42 + .../v1/RollbackApiDeploymentRequest.java | 456 +- ...RollbackApiDeploymentRequestOrBuilder.java | 48 +- .../v1/RollbackApiSpecRequest.java | 435 +- .../v1/RollbackApiSpecRequestOrBuilder.java | 53 + .../v1/TagApiDeploymentRevisionRequest.java | 457 +- ...ApiDeploymentRevisionRequestOrBuilder.java | 44 +- .../v1/TagApiSpecRevisionRequest.java | 428 +- .../TagApiSpecRevisionRequestOrBuilder.java | 44 +- .../v1/UpdateApiDeploymentRequest.java | 595 +-- .../UpdateApiDeploymentRequestOrBuilder.java | 67 +- .../apigeeregistry/v1/UpdateApiRequest.java | 573 +-- .../v1/UpdateApiRequestOrBuilder.java | 66 +- .../v1/UpdateApiSpecRequest.java | 590 +-- .../v1/UpdateApiSpecRequestOrBuilder.java | 67 +- .../v1/UpdateApiVersionRequest.java | 587 +-- .../v1/UpdateApiVersionRequestOrBuilder.java | 67 +- .../v1/provisioning_service.proto | 2 +- .../apigeeregistry/v1/registry_models.proto | 44 +- .../apigeeregistry/v1/registry_service.proto | 166 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createapi/AsyncCreateApi.java | 0 .../createapi/SyncCreateApi.java | 0 .../SyncCreateApiLocationnameApiString.java | 0 .../SyncCreateApiStringApiString.java | 0 .../AsyncCreateApiDeployment.java | 0 .../SyncCreateApiDeployment.java | 0 ...iDeploymentApinameApideploymentString.java | 0 ...piDeploymentStringApideploymentString.java | 0 .../createapispec/AsyncCreateApiSpec.java | 0 .../createapispec/SyncCreateApiSpec.java | 0 ...ateApiSpecApiversionnameApispecString.java | 0 .../SyncCreateApiSpecStringApispecString.java | 0 .../AsyncCreateApiVersion.java | 0 .../SyncCreateApiVersion.java | 0 ...eateApiVersionApinameApiversionString.java | 0 ...reateApiVersionStringApiversionString.java | 0 .../createartifact/AsyncCreateArtifact.java | 0 .../createartifact/SyncCreateArtifact.java | 0 ...tifactApideploymentnameArtifactString.java | 0 ...ncCreateArtifactApinameArtifactString.java | 0 ...eateArtifactApispecnameArtifactString.java | 0 ...eArtifactApiversionnameArtifactString.java | 0 ...ateArtifactLocationnameArtifactString.java | 0 ...yncCreateArtifactStringArtifactString.java | 0 .../deleteapi/AsyncDeleteApi.java | 1 + .../deleteapi/SyncDeleteApi.java | 1 + .../deleteapi/SyncDeleteApiApiname.java | 0 .../deleteapi/SyncDeleteApiString.java | 0 .../AsyncDeleteApiDeployment.java | 0 .../SyncDeleteApiDeployment.java | 0 ...cDeleteApiDeploymentApideploymentname.java | 0 .../SyncDeleteApiDeploymentString.java | 0 .../AsyncDeleteApiDeploymentRevision.java | 0 .../SyncDeleteApiDeploymentRevision.java | 0 ...piDeploymentRevisionApideploymentname.java | 0 ...SyncDeleteApiDeploymentRevisionString.java | 0 .../deleteapispec/AsyncDeleteApiSpec.java | 0 .../deleteapispec/SyncDeleteApiSpec.java | 0 .../SyncDeleteApiSpecApispecname.java | 0 .../SyncDeleteApiSpecString.java | 0 .../AsyncDeleteApiSpecRevision.java | 0 .../SyncDeleteApiSpecRevision.java | 0 .../SyncDeleteApiSpecRevisionApispecname.java | 0 .../SyncDeleteApiSpecRevisionString.java | 0 .../AsyncDeleteApiVersion.java | 1 + .../SyncDeleteApiVersion.java | 1 + .../SyncDeleteApiVersionApiversionname.java | 0 .../SyncDeleteApiVersionString.java | 0 .../deleteartifact/AsyncDeleteArtifact.java | 0 .../deleteartifact/SyncDeleteArtifact.java | 0 .../SyncDeleteArtifactArtifactname.java | 0 .../SyncDeleteArtifactString.java | 0 .../v1/registryclient/getapi/AsyncGetApi.java | 0 .../v1/registryclient/getapi/SyncGetApi.java | 0 .../getapi/SyncGetApiApiname.java | 0 .../getapi/SyncGetApiString.java | 0 .../AsyncGetApiDeployment.java | 0 .../SyncGetApiDeployment.java | 0 ...SyncGetApiDeploymentApideploymentname.java | 0 .../SyncGetApiDeploymentString.java | 0 .../getapispec/AsyncGetApiSpec.java | 0 .../getapispec/SyncGetApiSpec.java | 0 .../getapispec/SyncGetApiSpecApispecname.java | 0 .../getapispec/SyncGetApiSpecString.java | 0 .../AsyncGetApiSpecContents.java | 0 .../SyncGetApiSpecContents.java | 0 .../SyncGetApiSpecContentsApispecname.java | 0 .../SyncGetApiSpecContentsString.java | 0 .../getapiversion/AsyncGetApiVersion.java | 0 .../getapiversion/SyncGetApiVersion.java | 0 .../SyncGetApiVersionApiversionname.java | 0 .../SyncGetApiVersionString.java | 0 .../getartifact/AsyncGetArtifact.java | 0 .../getartifact/SyncGetArtifact.java | 0 .../SyncGetArtifactArtifactname.java | 0 .../getartifact/SyncGetArtifactString.java | 0 .../AsyncGetArtifactContents.java | 0 .../SyncGetArtifactContents.java | 0 .../SyncGetArtifactContentsArtifactname.java | 0 .../SyncGetArtifactContentsString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListApiDeploymentRevisions.java | 0 .../AsyncListApiDeploymentRevisionsPaged.java | 0 .../SyncListApiDeploymentRevisions.java | 0 .../AsyncListApiDeployments.java | 0 .../AsyncListApiDeploymentsPaged.java | 0 .../SyncListApiDeployments.java | 0 .../SyncListApiDeploymentsApiname.java | 0 .../SyncListApiDeploymentsString.java | 0 .../listapis/AsyncListApis.java | 0 .../listapis/AsyncListApisPaged.java | 0 .../registryclient/listapis/SyncListApis.java | 0 .../listapis/SyncListApisLocationname.java | 0 .../listapis/SyncListApisString.java | 0 .../AsyncListApiSpecRevisions.java | 0 .../AsyncListApiSpecRevisionsPaged.java | 0 .../SyncListApiSpecRevisions.java | 0 .../listapispecs/AsyncListApiSpecs.java | 0 .../listapispecs/AsyncListApiSpecsPaged.java | 0 .../listapispecs/SyncListApiSpecs.java | 0 .../SyncListApiSpecsApiversionname.java | 0 .../listapispecs/SyncListApiSpecsString.java | 0 .../listapiversions/AsyncListApiVersions.java | 0 .../AsyncListApiVersionsPaged.java | 0 .../listapiversions/SyncListApiVersions.java | 0 .../SyncListApiVersionsApiname.java | 0 .../SyncListApiVersionsString.java | 0 .../listartifacts/AsyncListArtifacts.java | 0 .../AsyncListArtifactsPaged.java | 0 .../listartifacts/SyncListArtifacts.java | 0 .../SyncListArtifactsApideploymentname.java | 0 .../SyncListArtifactsApiname.java | 0 .../SyncListArtifactsApispecname.java | 0 .../SyncListArtifactsApiversionname.java | 0 .../SyncListArtifactsLocationname.java | 0 .../SyncListArtifactsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../replaceartifact/AsyncReplaceArtifact.java | 0 .../replaceartifact/SyncReplaceArtifact.java | 0 .../SyncReplaceArtifactArtifact.java | 0 .../AsyncRollbackApiDeployment.java | 0 .../SyncRollbackApiDeployment.java | 0 .../rollbackapispec/AsyncRollbackApiSpec.java | 0 .../rollbackapispec/SyncRollbackApiSpec.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTagApiDeploymentRevision.java | 0 .../SyncTagApiDeploymentRevision.java | 0 .../AsyncTagApiSpecRevision.java | 0 .../SyncTagApiSpecRevision.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updateapi/AsyncUpdateApi.java | 0 .../updateapi/SyncUpdateApi.java | 0 .../updateapi/SyncUpdateApiApiFieldmask.java | 0 .../AsyncUpdateApiDeployment.java | 0 .../SyncUpdateApiDeployment.java | 0 ...teApiDeploymentApideploymentFieldmask.java | 0 .../updateapispec/AsyncUpdateApiSpec.java | 0 .../updateapispec/SyncUpdateApiSpec.java | 0 .../SyncUpdateApiSpecApispecFieldmask.java | 0 .../AsyncUpdateApiVersion.java | 0 .../SyncUpdateApiVersion.java | 0 ...ncUpdateApiVersionApiversionFieldmask.java | 0 .../registrysettings/getapi/SyncGetApi.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getapi/SyncGetApi.java | 0 .../DeleteApiDeploymentRequestOrBuilder.java | 70 - ...ApiDeploymentRevisionRequestOrBuilder.java | 60 - .../v1/DeleteApiRequestOrBuilder.java | 56 - .../v1/DeleteApiSpecRequestOrBuilder.java | 70 - ...DeleteApiSpecRevisionRequestOrBuilder.java | 60 - .../v1/DeleteApiVersionRequestOrBuilder.java | 56 - .../v1/DeleteArtifactRequestOrBuilder.java | 56 - .../v1/DeleteInstanceRequestOrBuilder.java | 56 - .../v1/GetApiDeploymentRequestOrBuilder.java | 56 - .../v1/GetApiRequestOrBuilder.java | 56 - .../GetApiSpecContentsRequestOrBuilder.java | 56 - .../v1/GetApiSpecRequestOrBuilder.java | 56 - .../v1/GetApiVersionRequestOrBuilder.java | 56 - .../GetArtifactContentsRequestOrBuilder.java | 56 - .../v1/GetArtifactRequestOrBuilder.java | 56 - .../v1/GetInstanceRequestOrBuilder.java | 56 - .../v1/ProvisioningServiceProto.java | 210 - .../v1/RegistryModelsProto.java | 367 -- .../v1/RegistryServiceProto.java | 946 ---- .../v1/ReplaceArtifactRequestOrBuilder.java | 72 - .../v1/RollbackApiSpecRequestOrBuilder.java | 83 - 356 files changed, 19289 insertions(+), 28413 deletions(-) delete mode 100644 grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java delete mode 100644 grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java (98%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java (97%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java (91%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java (97%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java (99%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java (99%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java (99%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java (99%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java (99%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java (98%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java (100%) rename {google-cloud-apigee-registry => owl-bot-staging/v1/google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java create mode 100644 owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java (67%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java (73%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java (72%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java (68%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java (75%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java (66%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java (76%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java (71%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java (76%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java (55%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java (66%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java (55%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java (64%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java (54%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java (55%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java (66%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java (56%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java (53%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java (69%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java (62%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java (54%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java (72%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java (63%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java (75%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java (67%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java (54%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java (72%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java (67%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java (62%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java (74%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java (68%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java (63%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java (74%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java (70%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java (63%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java (74%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java (67%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java (71%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java (74%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java (100%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java (73%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java (65%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java (50%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java (64%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java (52%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java (67%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java (52%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java (64%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java (56%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java (66%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java (60%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java (63%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java (55%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java (64%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java (56%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto (99%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto (91%) rename {proto-google-cloud-apigee-registry-v1 => owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto (89%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java (100%) delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java delete mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java diff --git a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java deleted file mode 100644 index 8396d5b..0000000 --- a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java +++ /dev/null @@ -1,593 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.apigeeregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The service that is used for managing the data plane provisioning of the
- * Registry.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/apigeeregistry/v1/provisioning_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ProvisioningGrpc { - - private ProvisioningGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Provisioning"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { - ProvisioningGrpc.getCreateInstanceMethod = - getCreateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ProvisioningMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { - ProvisioningGrpc.getDeleteInstanceMethod = - getDeleteInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ProvisioningMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetInstanceRequest, - com.google.cloud.apigeeregistry.v1.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetInstanceRequest, - com.google.cloud.apigeeregistry.v1.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetInstanceRequest, - com.google.cloud.apigeeregistry.v1.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { - ProvisioningGrpc.getGetInstanceMethod = - getGetInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ProvisioningStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningStub(channel, callOptions); - } - }; - return ProvisioningStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ProvisioningBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningBlockingStub(channel, callOptions); - } - }; - return ProvisioningBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ProvisioningFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningFutureStub(channel, callOptions); - } - }; - return ProvisioningFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public abstract static class ProvisioningImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public void createInstance( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the Registry instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetInstanceRequest, - com.google.cloud.apigeeregistry.v1.Instance>(this, METHODID_GET_INSTANCE))) - .build(); - } - } - - /** - * - * - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningStub - extends io.grpc.stub.AbstractAsyncStub { - private ProvisioningStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningStub(channel, callOptions); - } - - /** - * - * - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public void createInstance( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the Registry instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ProvisioningBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the Registry instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Instance getInstance( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ProvisioningFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the Registry instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Instance> - getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_INSTANCE = 0; - private static final int METHODID_DELETE_INSTANCE = 1; - private static final int METHODID_GET_INSTANCE = 2; - - 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 ProvisioningImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ProvisioningImplBase 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_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) 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 ProvisioningBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ProvisioningBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Provisioning"); - } - } - - private static final class ProvisioningFileDescriptorSupplier - extends ProvisioningBaseDescriptorSupplier { - ProvisioningFileDescriptorSupplier() {} - } - - private static final class ProvisioningMethodDescriptorSupplier - extends ProvisioningBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ProvisioningMethodDescriptorSupplier(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 (ProvisioningGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ProvisioningFileDescriptorSupplier()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getGetInstanceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java deleted file mode 100644 index 6d4adee..0000000 --- a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java +++ /dev/null @@ -1,4413 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.apigeeregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Registry service allows teams to manage descriptions of APIs.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/apigeeregistry/v1/registry_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RegistryGrpc { - - private RegistryGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Registry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApisRequest, - com.google.cloud.apigeeregistry.v1.ListApisResponse> - getListApisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApis", - requestType = com.google.cloud.apigeeregistry.v1.ListApisRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApisResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApisRequest, - com.google.cloud.apigeeregistry.v1.ListApisResponse> - getListApisMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApisRequest, - com.google.cloud.apigeeregistry.v1.ListApisResponse> - getListApisMethod; - if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { - RegistryGrpc.getListApisMethod = - getListApisMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApisRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApisResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApis")) - .build(); - } - } - } - return getListApisMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiRequest, com.google.cloud.apigeeregistry.v1.Api> - getGetApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApi", - requestType = com.google.cloud.apigeeregistry.v1.GetApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiRequest, com.google.cloud.apigeeregistry.v1.Api> - getGetApiMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getGetApiMethod; - if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { - RegistryGrpc.getGetApiMethod = - getGetApiMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApi")) - .build(); - } - } - } - return getGetApiMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getCreateApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApi", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getCreateApiMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getCreateApiMethod; - if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { - RegistryGrpc.getCreateApiMethod = - getCreateApiMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApi")) - .build(); - } - } - } - return getCreateApiMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getUpdateApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApi", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getUpdateApiMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiRequest, - com.google.cloud.apigeeregistry.v1.Api> - getUpdateApiMethod; - if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { - RegistryGrpc.getUpdateApiMethod = - getUpdateApiMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApi")) - .build(); - } - } - } - return getUpdateApiMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> - getDeleteApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApi", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> - getDeleteApiMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> - getDeleteApiMethod; - if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { - RegistryGrpc.getDeleteApiMethod = - getDeleteApiMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApi")) - .build(); - } - } - } - return getDeleteApiMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> - getListApiVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiVersions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> - getListApiVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> - getListApiVersionsMethod; - if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { - RegistryGrpc.getListApiVersionsMethod = - getListApiVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiVersions")) - .build(); - } - } - } - return getListApiVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getGetApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getGetApiVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getGetApiVersionMethod; - if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { - RegistryGrpc.getGetApiVersionMethod = - getGetApiVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiVersion")) - .build(); - } - } - } - return getGetApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getCreateApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getCreateApiVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getCreateApiVersionMethod; - if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { - RegistryGrpc.getCreateApiVersionMethod = - getCreateApiVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiVersion")) - .build(); - } - } - } - return getCreateApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getUpdateApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getUpdateApiVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion> - getUpdateApiVersionMethod; - if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { - RegistryGrpc.getUpdateApiVersionMethod = - getUpdateApiVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiVersion")) - .build(); - } - } - } - return getUpdateApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> - getDeleteApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> - getDeleteApiVersionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> - getDeleteApiVersionMethod; - if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { - RegistryGrpc.getDeleteApiVersionMethod = - getDeleteApiVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiVersion")) - .build(); - } - } - } - return getDeleteApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> - getListApiSpecsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiSpecs", - requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> - getListApiSpecsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> - getListApiSpecsMethod; - if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { - RegistryGrpc.getListApiSpecsMethod = - getListApiSpecsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecs")) - .build(); - } - } - } - return getListApiSpecsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getGetApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getGetApiSpecMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getGetApiSpecMethod; - if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { - RegistryGrpc.getGetApiSpecMethod = - getGetApiSpecMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpec")) - .build(); - } - } - } - return getGetApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> - getGetApiSpecContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiSpecContents", - requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, - responseType = com.google.api.HttpBody.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> - getGetApiSpecContentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> - getGetApiSpecContentsMethod; - if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { - RegistryGrpc.getGetApiSpecContentsMethod = - getGetApiSpecContentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpecContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.HttpBody.getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("GetApiSpecContents")) - .build(); - } - } - } - return getGetApiSpecContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getCreateApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getCreateApiSpecMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getCreateApiSpecMethod; - if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { - RegistryGrpc.getCreateApiSpecMethod = - getCreateApiSpecMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiSpec")) - .build(); - } - } - } - return getCreateApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getUpdateApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getUpdateApiSpecMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getUpdateApiSpecMethod; - if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { - RegistryGrpc.getUpdateApiSpecMethod = - getUpdateApiSpecMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiSpec")) - .build(); - } - } - } - return getUpdateApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> - getDeleteApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> - getDeleteApiSpecMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> - getDeleteApiSpecMethod; - if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { - RegistryGrpc.getDeleteApiSpecMethod = - getDeleteApiSpecMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpec")) - .build(); - } - } - } - return getDeleteApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getTagApiSpecRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TagApiSpecRevision", - requestType = com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getTagApiSpecRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getTagApiSpecRevisionMethod; - if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { - RegistryGrpc.getTagApiSpecRevisionMethod = - getTagApiSpecRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiSpecRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("TagApiSpecRevision")) - .build(); - } - } - } - return getTagApiSpecRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> - getListApiSpecRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiSpecRevisions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> - getListApiSpecRevisionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> - getListApiSpecRevisionsMethod; - if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { - RegistryGrpc.getListApiSpecRevisionsMethod = - getListApiSpecRevisionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListApiSpecRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("ListApiSpecRevisions")) - .build(); - } - } - } - return getListApiSpecRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getRollbackApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getRollbackApiSpecMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getRollbackApiSpecMethod; - if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { - RegistryGrpc.getRollbackApiSpecMethod = - getRollbackApiSpecMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiSpec")) - .build(); - } - } - } - return getRollbackApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getDeleteApiSpecRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpecRevision", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getDeleteApiSpecRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec> - getDeleteApiSpecRevisionMethod; - if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) - == null) { - RegistryGrpc.getDeleteApiSpecRevisionMethod = - getDeleteApiSpecRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteApiSpecRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("DeleteApiSpecRevision")) - .build(); - } - } - } - return getDeleteApiSpecRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> - getListApiDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiDeployments", - requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> - getListApiDeploymentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> - getListApiDeploymentsMethod; - if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { - RegistryGrpc.getListApiDeploymentsMethod = - getListApiDeploymentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("ListApiDeployments")) - .build(); - } - } - } - return getListApiDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getGetApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getGetApiDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getGetApiDeploymentMethod; - if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { - RegistryGrpc.getGetApiDeploymentMethod = - getGetApiDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiDeployment")) - .build(); - } - } - } - return getGetApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getCreateApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getCreateApiDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getCreateApiDeploymentMethod; - if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { - RegistryGrpc.getCreateApiDeploymentMethod = - getCreateApiDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("CreateApiDeployment")) - .build(); - } - } - } - return getCreateApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getUpdateApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getUpdateApiDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getUpdateApiDeploymentMethod; - if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { - RegistryGrpc.getUpdateApiDeploymentMethod = - getUpdateApiDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("UpdateApiDeployment")) - .build(); - } - } - } - return getUpdateApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, com.google.protobuf.Empty> - getDeleteApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, com.google.protobuf.Empty> - getDeleteApiDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, - com.google.protobuf.Empty> - getDeleteApiDeploymentMethod; - if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { - RegistryGrpc.getDeleteApiDeploymentMethod = - getDeleteApiDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("DeleteApiDeployment")) - .build(); - } - } - } - return getDeleteApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getTagApiDeploymentRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TagApiDeploymentRevision", - requestType = com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getTagApiDeploymentRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getTagApiDeploymentRevisionMethod; - if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) - == null) { - synchronized (RegistryGrpc.class) { - if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) - == null) { - RegistryGrpc.getTagApiDeploymentRevisionMethod = - getTagApiDeploymentRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "TagApiDeploymentRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("TagApiDeploymentRevision")) - .build(); - } - } - } - return getTagApiDeploymentRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - getListApiDeploymentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiDeploymentRevisions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - getListApiDeploymentRevisionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - getListApiDeploymentRevisionsMethod; - if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) - == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) - == null) { - RegistryGrpc.getListApiDeploymentRevisionsMethod = - getListApiDeploymentRevisionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListApiDeploymentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("ListApiDeploymentRevisions")) - .build(); - } - } - } - return getListApiDeploymentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getRollbackApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getRollbackApiDeploymentMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getRollbackApiDeploymentMethod; - if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) - == null) { - RegistryGrpc.getRollbackApiDeploymentMethod = - getRollbackApiDeploymentMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RollbackApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("RollbackApiDeployment")) - .build(); - } - } - } - return getRollbackApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getDeleteApiDeploymentRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeploymentRevision", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getDeleteApiDeploymentRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getDeleteApiDeploymentRevisionMethod; - if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) - == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiDeploymentRevisionMethod = - RegistryGrpc.getDeleteApiDeploymentRevisionMethod) - == null) { - RegistryGrpc.getDeleteApiDeploymentRevisionMethod = - getDeleteApiDeploymentRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteApiDeploymentRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment - .getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("DeleteApiDeploymentRevision")) - .build(); - } - } - } - return getDeleteApiDeploymentRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> - getListArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListArtifacts", - requestType = com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> - getListArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> - getListArtifactsMethod; - if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { - RegistryGrpc.getListArtifactsMethod = - getListArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListArtifacts")) - .build(); - } - } - } - return getListArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getGetArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetArtifact", - requestType = com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getGetArtifactMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getGetArtifactMethod; - if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { - RegistryGrpc.getGetArtifactMethod = - getGetArtifactMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifact")) - .build(); - } - } - } - return getGetArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> - getGetArtifactContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetArtifactContents", - requestType = com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, - responseType = com.google.api.HttpBody.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> - getGetArtifactContentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> - getGetArtifactContentsMethod; - if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { - RegistryGrpc.getGetArtifactContentsMethod = - getGetArtifactContentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetArtifactContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.HttpBody.getDefaultInstance())) - .setSchemaDescriptor( - new RegistryMethodDescriptorSupplier("GetArtifactContents")) - .build(); - } - } - } - return getGetArtifactContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getCreateArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateArtifact", - requestType = com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getCreateArtifactMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getCreateArtifactMethod; - if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { - RegistryGrpc.getCreateArtifactMethod = - getCreateArtifactMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateArtifact")) - .build(); - } - } - } - return getCreateArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getReplaceArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReplaceArtifact", - requestType = com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getReplaceArtifactMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact> - getReplaceArtifactMethod; - if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { - RegistryGrpc.getReplaceArtifactMethod = - getReplaceArtifactMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ReplaceArtifact")) - .build(); - } - } - } - return getReplaceArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> - getDeleteArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteArtifact", - requestType = com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> - getDeleteArtifactMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> - getDeleteArtifactMethod; - if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { - RegistryGrpc.getDeleteArtifactMethod = - getDeleteArtifactMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteArtifact")) - .build(); - } - } - } - return getDeleteArtifactMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static RegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryStub(channel, callOptions); - } - }; - return RegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static RegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryBlockingStub(channel, callOptions); - } - }; - return RegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static RegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryFutureStub(channel, callOptions); - } - }; - return RegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public abstract static class RegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * ListApis returns matching APIs.
-     * 
- */ - public void listApis( - com.google.cloud.apigeeregistry.v1.ListApisRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApisMethod(), responseObserver); - } - - /** - * - * - *
-     * GetApi returns a specified API.
-     * 
- */ - public void getApi( - com.google.cloud.apigeeregistry.v1.GetApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiMethod(), responseObserver); - } - - /** - * - * - *
-     * CreateApi creates a specified API.
-     * 
- */ - public void createApi( - com.google.cloud.apigeeregistry.v1.CreateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiMethod(), responseObserver); - } - - /** - * - * - *
-     * UpdateApi can be used to modify a specified API.
-     * 
- */ - public void updateApi( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApi removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public void deleteApi( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiMethod(), responseObserver); - } - - /** - * - * - *
-     * ListApiVersions returns matching versions.
-     * 
- */ - public void listApiVersions( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApiVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * GetApiVersion returns a specified version.
-     * 
- */ - public void getApiVersion( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetApiVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * CreateApiVersion creates a specified version.
-     * 
- */ - public void createApiVersion( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateApiVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * UpdateApiVersion can be used to modify a specified version.
-     * 
- */ - public void updateApiVersion( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateApiVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApiVersion removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public void deleteApiVersion( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteApiVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * ListApiSpecs returns matching specs.
-     * 
- */ - public void listApiSpecs( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApiSpecsMethod(), responseObserver); - } - - /** - * - * - *
-     * GetApiSpec returns a specified spec.
-     * 
- */ - public void getApiSpec( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecMethod(), responseObserver); - } - - /** - * - * - *
-     * GetApiSpecContents returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getApiSpecContents( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetApiSpecContentsMethod(), responseObserver); - } - - /** - * - * - *
-     * CreateApiSpec creates a specified spec.
-     * 
- */ - public void createApiSpec( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateApiSpecMethod(), responseObserver); - } - - /** - * - * - *
-     * UpdateApiSpec can be used to modify a specified spec.
-     * 
- */ - public void updateApiSpec( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateApiSpecMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApiSpec removes a specified spec, all revisions, and all child
-     * resources (e.g. artifacts).
-     * 
- */ - public void deleteApiSpec( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteApiSpecMethod(), responseObserver); - } - - /** - * - * - *
-     * TagApiSpecRevision adds a tag to a specified revision of a spec.
-     * 
- */ - public void tagApiSpecRevision( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTagApiSpecRevisionMethod(), responseObserver); - } - - /** - * - * - *
-     * ListApiSpecRevisions lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiSpecRevisions( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApiSpecRevisionsMethod(), responseObserver); - } - - /** - * - * - *
-     * RollbackApiSpec sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiSpec( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRollbackApiSpecMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApiSpecRevision deletes a revision of a spec.
-     * 
- */ - public void deleteApiSpecRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteApiSpecRevisionMethod(), responseObserver); - } - - /** - * - * - *
-     * ListApiDeployments returns matching deployments.
-     * 
- */ - public void listApiDeployments( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApiDeploymentsMethod(), responseObserver); - } - - /** - * - * - *
-     * GetApiDeployment returns a specified deployment.
-     * 
- */ - public void getApiDeployment( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetApiDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * CreateApiDeployment creates a specified deployment.
-     * 
- */ - public void createApiDeployment( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateApiDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * UpdateApiDeployment can be used to modify a specified deployment.
-     * 
- */ - public void updateApiDeployment( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateApiDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApiDeployment removes a specified deployment, all revisions, and all
-     * child resources (e.g. artifacts).
-     * 
- */ - public void deleteApiDeployment( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteApiDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * TagApiDeploymentRevision adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public void tagApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTagApiDeploymentRevisionMethod(), responseObserver); - } - - /** - * - * - *
-     * ListApiDeploymentRevisions lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiDeploymentRevisions( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListApiDeploymentRevisionsMethod(), responseObserver); - } - - /** - * - * - *
-     * RollbackApiDeployment sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiDeployment( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRollbackApiDeploymentMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteApiDeploymentRevision deletes a revision of a deployment.
-     * 
- */ - public void deleteApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteApiDeploymentRevisionMethod(), responseObserver); - } - - /** - * - * - *
-     * ListArtifacts returns matching artifacts.
-     * 
- */ - public void listArtifacts( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * GetArtifact returns a specified artifact.
-     * 
- */ - public void getArtifact( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetArtifactMethod(), responseObserver); - } - - /** - * - * - *
-     * GetArtifactContents returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getArtifactContents( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetArtifactContentsMethod(), responseObserver); - } - - /** - * - * - *
-     * CreateArtifact creates a specified artifact.
-     * 
- */ - public void createArtifact( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateArtifactMethod(), responseObserver); - } - - /** - * - * - *
-     * ReplaceArtifact can be used to replace a specified artifact.
-     * 
- */ - public void replaceArtifact( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReplaceArtifactMethod(), responseObserver); - } - - /** - * - * - *
-     * DeleteArtifact removes a specified artifact.
-     * 
- */ - public void deleteArtifact( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteArtifactMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListApisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApisRequest, - com.google.cloud.apigeeregistry.v1.ListApisResponse>( - this, METHODID_LIST_APIS))) - .addMethod( - getGetApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiRequest, - com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_GET_API))) - .addMethod( - getCreateApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiRequest, - com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_CREATE_API))) - .addMethod( - getUpdateApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiRequest, - com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_UPDATE_API))) - .addMethod( - getDeleteApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_API))) - .addMethod( - getListApiVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>( - this, METHODID_LIST_API_VERSIONS))) - .addMethod( - getGetApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_GET_API_VERSION))) - .addMethod( - getCreateApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_CREATE_API_VERSION))) - .addMethod( - getUpdateApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_UPDATE_API_VERSION))) - .addMethod( - getDeleteApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_API_VERSION))) - .addMethod( - getListApiSpecsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse>( - this, METHODID_LIST_API_SPECS))) - .addMethod( - getGetApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_GET_API_SPEC))) - .addMethod( - getGetApiSpecContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, - com.google.api.HttpBody>(this, METHODID_GET_API_SPEC_CONTENTS))) - .addMethod( - getCreateApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_CREATE_API_SPEC))) - .addMethod( - getUpdateApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_UPDATE_API_SPEC))) - .addMethod( - getDeleteApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_API_SPEC))) - .addMethod( - getTagApiSpecRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_TAG_API_SPEC_REVISION))) - .addMethod( - getListApiSpecRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>( - this, METHODID_LIST_API_SPEC_REVISIONS))) - .addMethod( - getRollbackApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_ROLLBACK_API_SPEC))) - .addMethod( - getDeleteApiSpecRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_DELETE_API_SPEC_REVISION))) - .addMethod( - getListApiDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>( - this, METHODID_LIST_API_DEPLOYMENTS))) - .addMethod( - getGetApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_GET_API_DEPLOYMENT))) - .addMethod( - getCreateApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_CREATE_API_DEPLOYMENT))) - .addMethod( - getUpdateApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_UPDATE_API_DEPLOYMENT))) - .addMethod( - getDeleteApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_API_DEPLOYMENT))) - .addMethod( - getTagApiDeploymentRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_TAG_API_DEPLOYMENT_REVISION))) - .addMethod( - getListApiDeploymentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>( - this, METHODID_LIST_API_DEPLOYMENT_REVISIONS))) - .addMethod( - getRollbackApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_ROLLBACK_API_DEPLOYMENT))) - .addMethod( - getDeleteApiDeploymentRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_DELETE_API_DEPLOYMENT_REVISION))) - .addMethod( - getListArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>( - this, METHODID_LIST_ARTIFACTS))) - .addMethod( - getGetArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>(this, METHODID_GET_ARTIFACT))) - .addMethod( - getGetArtifactContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, - com.google.api.HttpBody>(this, METHODID_GET_ARTIFACT_CONTENTS))) - .addMethod( - getCreateArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>(this, METHODID_CREATE_ARTIFACT))) - .addMethod( - getReplaceArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>( - this, METHODID_REPLACE_ARTIFACT))) - .addMethod( - getDeleteArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_ARTIFACT))) - .build(); - } - } - - /** - * - * - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryStub extends io.grpc.stub.AbstractAsyncStub { - private RegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * ListApis returns matching APIs.
-     * 
- */ - public void listApis( - com.google.cloud.apigeeregistry.v1.ListApisRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApisMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * GetApi returns a specified API.
-     * 
- */ - public void getApi( - com.google.cloud.apigeeregistry.v1.GetApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * CreateApi creates a specified API.
-     * 
- */ - public void createApi( - com.google.cloud.apigeeregistry.v1.CreateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * UpdateApi can be used to modify a specified API.
-     * 
- */ - public void updateApi( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * DeleteApi removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public void deleteApi( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * ListApiVersions returns matching versions.
-     * 
- */ - public void listApiVersions( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * GetApiVersion returns a specified version.
-     * 
- */ - public void getApiVersion( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CreateApiVersion creates a specified version.
-     * 
- */ - public void createApiVersion( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * UpdateApiVersion can be used to modify a specified version.
-     * 
- */ - public void updateApiVersion( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteApiVersion removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public void deleteApiVersion( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ListApiSpecs returns matching specs.
-     * 
- */ - public void listApiSpecs( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * GetApiSpec returns a specified spec.
-     * 
- */ - public void getApiSpec( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * GetApiSpecContents returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getApiSpecContents( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CreateApiSpec creates a specified spec.
-     * 
- */ - public void createApiSpec( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * UpdateApiSpec can be used to modify a specified spec.
-     * 
- */ - public void updateApiSpec( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteApiSpec removes a specified spec, all revisions, and all child
-     * resources (e.g. artifacts).
-     * 
- */ - public void deleteApiSpec( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * TagApiSpecRevision adds a tag to a specified revision of a spec.
-     * 
- */ - public void tagApiSpecRevision( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ListApiSpecRevisions lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiSpecRevisions( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * RollbackApiSpec sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiSpec( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteApiSpecRevision deletes a revision of a spec.
-     * 
- */ - public void deleteApiSpecRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ListApiDeployments returns matching deployments.
-     * 
- */ - public void listApiDeployments( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * GetApiDeployment returns a specified deployment.
-     * 
- */ - public void getApiDeployment( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CreateApiDeployment creates a specified deployment.
-     * 
- */ - public void createApiDeployment( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * UpdateApiDeployment can be used to modify a specified deployment.
-     * 
- */ - public void updateApiDeployment( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteApiDeployment removes a specified deployment, all revisions, and all
-     * child resources (e.g. artifacts).
-     * 
- */ - public void deleteApiDeployment( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * TagApiDeploymentRevision adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public void tagApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ListApiDeploymentRevisions lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiDeploymentRevisions( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * RollbackApiDeployment sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiDeployment( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteApiDeploymentRevision deletes a revision of a deployment.
-     * 
- */ - public void deleteApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ListArtifacts returns matching artifacts.
-     * 
- */ - public void listArtifacts( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * GetArtifact returns a specified artifact.
-     * 
- */ - public void getArtifact( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetArtifactMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * GetArtifactContents returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getArtifactContents( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CreateArtifact creates a specified artifact.
-     * 
- */ - public void createArtifact( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * ReplaceArtifact can be used to replace a specified artifact.
-     * 
- */ - public void replaceArtifact( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * DeleteArtifact removes a specified artifact.
-     * 
- */ - public void deleteArtifact( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * ListApis returns matching APIs.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApisResponse listApis( - com.google.cloud.apigeeregistry.v1.ListApisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApisMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetApi returns a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api getApi( - com.google.cloud.apigeeregistry.v1.GetApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CreateApi creates a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api createApi( - com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * UpdateApi can be used to modify a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api updateApi( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApi removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public com.google.protobuf.Empty deleteApi( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListApiVersions returns matching versions.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse listApiVersions( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetApiVersion returns a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CreateApiVersion creates a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion createApiVersion( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * UpdateApiVersion can be used to modify a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion updateApiVersion( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApiVersion removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public com.google.protobuf.Empty deleteApiVersion( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListApiSpecs returns matching specs.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse listApiSpecs( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiSpecsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetApiSpec returns a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiSpecMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetApiSpecContents returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.api.HttpBody getApiSpecContents( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiSpecContentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CreateApiSpec creates a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec createApiSpec( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiSpecMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * UpdateApiSpec can be used to modify a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec updateApiSpec( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiSpecMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApiSpec removes a specified spec, all revisions, and all child
-     * resources (e.g. artifacts).
-     * 
- */ - public com.google.protobuf.Empty deleteApiSpec( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiSpecMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * TagApiSpecRevision adds a tag to a specified revision of a spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec tagApiSpecRevision( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTagApiSpecRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListApiSpecRevisions lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse listApiSpecRevisions( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiSpecRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * RollbackApiSpec sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec rollbackApiSpec( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackApiSpecMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApiSpecRevision deletes a revision of a spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec deleteApiSpecRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiSpecRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListApiDeployments returns matching deployments.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse listApiDeployments( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiDeploymentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetApiDeployment returns a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CreateApiDeployment creates a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment createApiDeployment( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * UpdateApiDeployment can be used to modify a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment updateApiDeployment( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApiDeployment removes a specified deployment, all revisions, and all
-     * child resources (e.g. artifacts).
-     * 
- */ - public com.google.protobuf.Empty deleteApiDeployment( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * TagApiDeploymentRevision adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment tagApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTagApiDeploymentRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListApiDeploymentRevisions lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - listApiDeploymentRevisions( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiDeploymentRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * RollbackApiDeployment sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment rollbackApiDeployment( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackApiDeploymentMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteApiDeploymentRevision deletes a revision of a deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment deleteApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiDeploymentRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ListArtifacts returns matching artifacts.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse listArtifacts( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetArtifact returns a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact getArtifact( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetArtifactMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * GetArtifactContents returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.api.HttpBody getArtifactContents( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetArtifactContentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CreateArtifact creates a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact createArtifact( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateArtifactMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * ReplaceArtifact can be used to replace a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact replaceArtifact( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReplaceArtifactMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * DeleteArtifact removes a specified artifact.
-     * 
- */ - public com.google.protobuf.Empty deleteArtifact( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteArtifactMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * ListApis returns matching APIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApisResponse> - listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApisMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetApi returns a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Api> - getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CreateApi creates a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Api> - createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * UpdateApi can be used to modify a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Api> - updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApi removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApi( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListApiVersions returns matching versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> - listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetApiVersion returns a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiVersion> - getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CreateApiVersion creates a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiVersion> - createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * UpdateApiVersion can be used to modify a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiVersion> - updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApiVersion removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListApiSpecs returns matching specs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> - listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetApiSpec returns a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetApiSpecContents returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CreateApiSpec creates a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * UpdateApiSpec can be used to modify a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApiSpec removes a specified spec, all revisions, and all child
-     * resources (e.g. artifacts).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * TagApiSpecRevision adds a tag to a specified revision of a spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListApiSpecRevisions lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> - listApiSpecRevisions( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * RollbackApiSpec sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApiSpecRevision deletes a revision of a spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiSpec> - deleteApiSpecRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListApiDeployments returns matching deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> - listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetApiDeployment returns a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CreateApiDeployment creates a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * UpdateApiDeployment can be used to modify a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApiDeployment removes a specified deployment, all revisions, and all
-     * child resources (e.g. artifacts).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * TagApiDeploymentRevision adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - tagApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListApiDeploymentRevisions lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> - listApiDeploymentRevisions( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * RollbackApiDeployment sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - rollbackApiDeployment( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteApiDeploymentRevision deletes a revision of a deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ApiDeployment> - deleteApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ListArtifacts returns matching artifacts.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> - listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetArtifact returns a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Artifact> - getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * GetArtifactContents returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CreateArtifact creates a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Artifact> - createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * ReplaceArtifact can be used to replace a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.apigeeregistry.v1.Artifact> - replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * DeleteArtifact removes a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_APIS = 0; - private static final int METHODID_GET_API = 1; - private static final int METHODID_CREATE_API = 2; - private static final int METHODID_UPDATE_API = 3; - private static final int METHODID_DELETE_API = 4; - private static final int METHODID_LIST_API_VERSIONS = 5; - private static final int METHODID_GET_API_VERSION = 6; - private static final int METHODID_CREATE_API_VERSION = 7; - private static final int METHODID_UPDATE_API_VERSION = 8; - private static final int METHODID_DELETE_API_VERSION = 9; - private static final int METHODID_LIST_API_SPECS = 10; - private static final int METHODID_GET_API_SPEC = 11; - private static final int METHODID_GET_API_SPEC_CONTENTS = 12; - private static final int METHODID_CREATE_API_SPEC = 13; - private static final int METHODID_UPDATE_API_SPEC = 14; - private static final int METHODID_DELETE_API_SPEC = 15; - private static final int METHODID_TAG_API_SPEC_REVISION = 16; - private static final int METHODID_LIST_API_SPEC_REVISIONS = 17; - private static final int METHODID_ROLLBACK_API_SPEC = 18; - private static final int METHODID_DELETE_API_SPEC_REVISION = 19; - private static final int METHODID_LIST_API_DEPLOYMENTS = 20; - private static final int METHODID_GET_API_DEPLOYMENT = 21; - private static final int METHODID_CREATE_API_DEPLOYMENT = 22; - private static final int METHODID_UPDATE_API_DEPLOYMENT = 23; - private static final int METHODID_DELETE_API_DEPLOYMENT = 24; - private static final int METHODID_TAG_API_DEPLOYMENT_REVISION = 25; - private static final int METHODID_LIST_API_DEPLOYMENT_REVISIONS = 26; - private static final int METHODID_ROLLBACK_API_DEPLOYMENT = 27; - private static final int METHODID_DELETE_API_DEPLOYMENT_REVISION = 28; - private static final int METHODID_LIST_ARTIFACTS = 29; - private static final int METHODID_GET_ARTIFACT = 30; - private static final int METHODID_GET_ARTIFACT_CONTENTS = 31; - private static final int METHODID_CREATE_ARTIFACT = 32; - private static final int METHODID_REPLACE_ARTIFACT = 33; - private static final int METHODID_DELETE_ARTIFACT = 34; - - 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 RegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(RegistryImplBase 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_APIS: - serviceImpl.listApis( - (com.google.cloud.apigeeregistry.v1.ListApisRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_API: - serviceImpl.getApi( - (com.google.cloud.apigeeregistry.v1.GetApiRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_API: - serviceImpl.createApi( - (com.google.cloud.apigeeregistry.v1.CreateApiRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_API: - serviceImpl.updateApi( - (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API: - serviceImpl.deleteApi( - (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_VERSIONS: - serviceImpl.listApiVersions( - (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>) - responseObserver); - break; - case METHODID_GET_API_VERSION: - serviceImpl.getApiVersion( - (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_API_VERSION: - serviceImpl.createApiVersion( - (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_API_VERSION: - serviceImpl.updateApiVersion( - (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API_VERSION: - serviceImpl.deleteApiVersion( - (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_SPECS: - serviceImpl.listApiSpecs( - (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_API_SPEC: - serviceImpl.getApiSpec( - (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_API_SPEC_CONTENTS: - serviceImpl.getApiSpecContents( - (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_API_SPEC: - serviceImpl.createApiSpec( - (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_API_SPEC: - serviceImpl.updateApiSpec( - (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API_SPEC: - serviceImpl.deleteApiSpec( - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TAG_API_SPEC_REVISION: - serviceImpl.tagApiSpecRevision( - (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_API_SPEC_REVISIONS: - serviceImpl.listApiSpecRevisions( - (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>) - responseObserver); - break; - case METHODID_ROLLBACK_API_SPEC: - serviceImpl.rollbackApiSpec( - (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API_SPEC_REVISION: - serviceImpl.deleteApiSpecRevision( - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_API_DEPLOYMENTS: - serviceImpl.listApiDeployments( - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>) - responseObserver); - break; - case METHODID_GET_API_DEPLOYMENT: - serviceImpl.getApiDeployment( - (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_API_DEPLOYMENT: - serviceImpl.createApiDeployment( - (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_API_DEPLOYMENT: - serviceImpl.updateApiDeployment( - (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API_DEPLOYMENT: - serviceImpl.deleteApiDeployment( - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TAG_API_DEPLOYMENT_REVISION: - serviceImpl.tagApiDeploymentRevision( - (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_API_DEPLOYMENT_REVISIONS: - serviceImpl.listApiDeploymentRevisions( - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>) - responseObserver); - break; - case METHODID_ROLLBACK_API_DEPLOYMENT: - serviceImpl.rollbackApiDeployment( - (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_API_DEPLOYMENT_REVISION: - serviceImpl.deleteApiDeploymentRevision( - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_ARTIFACTS: - serviceImpl.listArtifacts( - (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>) - responseObserver); - break; - case METHODID_GET_ARTIFACT: - serviceImpl.getArtifact( - (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_ARTIFACT_CONTENTS: - serviceImpl.getArtifactContents( - (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ARTIFACT: - serviceImpl.createArtifact( - (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_REPLACE_ARTIFACT: - serviceImpl.replaceArtifact( - (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_ARTIFACT: - serviceImpl.deleteArtifact( - (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) 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 RegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - RegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Registry"); - } - } - - private static final class RegistryFileDescriptorSupplier extends RegistryBaseDescriptorSupplier { - RegistryFileDescriptorSupplier() {} - } - - private static final class RegistryMethodDescriptorSupplier extends RegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - RegistryMethodDescriptorSupplier(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 (RegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RegistryFileDescriptorSupplier()) - .addMethod(getListApisMethod()) - .addMethod(getGetApiMethod()) - .addMethod(getCreateApiMethod()) - .addMethod(getUpdateApiMethod()) - .addMethod(getDeleteApiMethod()) - .addMethod(getListApiVersionsMethod()) - .addMethod(getGetApiVersionMethod()) - .addMethod(getCreateApiVersionMethod()) - .addMethod(getUpdateApiVersionMethod()) - .addMethod(getDeleteApiVersionMethod()) - .addMethod(getListApiSpecsMethod()) - .addMethod(getGetApiSpecMethod()) - .addMethod(getGetApiSpecContentsMethod()) - .addMethod(getCreateApiSpecMethod()) - .addMethod(getUpdateApiSpecMethod()) - .addMethod(getDeleteApiSpecMethod()) - .addMethod(getTagApiSpecRevisionMethod()) - .addMethod(getListApiSpecRevisionsMethod()) - .addMethod(getRollbackApiSpecMethod()) - .addMethod(getDeleteApiSpecRevisionMethod()) - .addMethod(getListApiDeploymentsMethod()) - .addMethod(getGetApiDeploymentMethod()) - .addMethod(getCreateApiDeploymentMethod()) - .addMethod(getUpdateApiDeploymentMethod()) - .addMethod(getDeleteApiDeploymentMethod()) - .addMethod(getTagApiDeploymentRevisionMethod()) - .addMethod(getListApiDeploymentRevisionsMethod()) - .addMethod(getRollbackApiDeploymentMethod()) - .addMethod(getDeleteApiDeploymentRevisionMethod()) - .addMethod(getListArtifactsMethod()) - .addMethod(getGetArtifactMethod()) - .addMethod(getGetArtifactContentsMethod()) - .addMethod(getCreateArtifactMethod()) - .addMethod(getReplaceArtifactMethod()) - .addMethod(getDeleteArtifactMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java similarity index 98% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java index 568dffc..9dfc393 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java @@ -71,13 +71,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. *
* @@ -924,10 +924,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -977,10 +974,7 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java similarity index 97% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java index 878e77d..489170f 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java @@ -29,6 +29,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.cloud.apigeeregistry.v1.stub.ProvisioningStubSettings; @@ -54,10 +55,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java similarity index 91% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java index 9184376..2247bd3 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java @@ -67,13 +67,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. *
* @@ -174,7 +174,7 @@ public RegistryStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApis returns matching APIs. + * Returns matching APIs. * *

Sample code: * @@ -190,7 +190,7 @@ public RegistryStub getStub() { * } * * @param parent Required. The parent, which owns this collection of APIs. Format: - * projects/*/locations/* + * `projects/*/locations/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApisPagedResponse listApis(LocationName parent) { @@ -201,7 +201,7 @@ public final ListApisPagedResponse listApis(LocationName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApis returns matching APIs. + * Returns matching APIs. * *

Sample code: * @@ -217,7 +217,7 @@ public final ListApisPagedResponse listApis(LocationName parent) { * } * * @param parent Required. The parent, which owns this collection of APIs. Format: - * projects/*/locations/* + * `projects/*/locations/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApisPagedResponse listApis(String parent) { @@ -227,7 +227,7 @@ public final ListApisPagedResponse listApis(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApis returns matching APIs. + * Returns matching APIs. * *

Sample code: * @@ -257,7 +257,7 @@ public final ListApisPagedResponse listApis(ListApisRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApis returns matching APIs. + * Returns matching APIs. * *

Sample code: * @@ -286,7 +286,7 @@ public final UnaryCallable listApisPaged // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApis returns matching APIs. + * Returns matching APIs. * *

Sample code: * @@ -322,7 +322,7 @@ public final UnaryCallable listApisCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApi returns a specified API. + * Returns a specified API. * *

Sample code: * @@ -336,7 +336,7 @@ public final UnaryCallable listApisCallable() * } * * @param name Required. The name of the API to retrieve. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Api getApi(ApiName name) { @@ -347,7 +347,7 @@ public final Api getApi(ApiName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApi returns a specified API. + * Returns a specified API. * *

Sample code: * @@ -361,7 +361,7 @@ public final Api getApi(ApiName name) { * } * * @param name Required. The name of the API to retrieve. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Api getApi(String name) { @@ -371,7 +371,7 @@ public final Api getApi(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApi returns a specified API. + * Returns a specified API. * *

Sample code: * @@ -396,7 +396,7 @@ public final Api getApi(GetApiRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApi returns a specified API. + * Returns a specified API. * *

Sample code: * @@ -420,7 +420,7 @@ public final UnaryCallable getApiCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApi creates a specified API. + * Creates a specified API. * *

Sample code: * @@ -436,10 +436,10 @@ public final UnaryCallable getApiCallable() { * } * * @param parent Required. The parent, which owns this collection of APIs. Format: - * projects/*/locations/* + * `projects/*/locations/*` * @param api Required. The API to create. - * @param apiId Required. The ID to use for the api, which will become the final component of the - * api's resource name. + * @param apiId Required. The ID to use for the API, which will become the final component of the + * API's resource name. *

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. *

Following AIP-162, IDs must not have the form of a UUID. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -456,7 +456,7 @@ public final Api createApi(LocationName parent, Api api, String apiId) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApi creates a specified API. + * Creates a specified API. * *

Sample code: * @@ -472,10 +472,10 @@ public final Api createApi(LocationName parent, Api api, String apiId) { * } * * @param parent Required. The parent, which owns this collection of APIs. Format: - * projects/*/locations/* + * `projects/*/locations/*` * @param api Required. The API to create. - * @param apiId Required. The ID to use for the api, which will become the final component of the - * api's resource name. + * @param apiId Required. The ID to use for the API, which will become the final component of the + * API's resource name. *

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. *

Following AIP-162, IDs must not have the form of a UUID. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -488,7 +488,7 @@ public final Api createApi(String parent, Api api, String apiId) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApi creates a specified API. + * Creates a specified API. * *

Sample code: * @@ -515,7 +515,7 @@ public final Api createApi(CreateApiRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApi creates a specified API. + * Creates a specified API. * *

Sample code: * @@ -541,7 +541,7 @@ public final UnaryCallable createApiCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApi can be used to modify a specified API. + * Used to modify a specified API. * *

Sample code: * @@ -557,11 +557,11 @@ public final UnaryCallable createApiCallable() { * * @param api Required. The API to update. *

The `name` field is used to identify the API to update. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @param updateMask The list of fields to be updated. If omitted, all fields are updated that are - * set in the request message (fields set to default values are ignored). If a "*" is - * specified, all fields are updated, including fields that are unspecified/default in the - * request. + * set in the request message (fields set to default values are ignored). If an asterisk + * "*" is specified, all fields are updated, including fields that are unspecified/default + * in the request. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Api updateApi(Api api, FieldMask updateMask) { @@ -572,7 +572,7 @@ public final Api updateApi(Api api, FieldMask updateMask) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApi can be used to modify a specified API. + * Used to modify a specified API. * *

Sample code: * @@ -599,7 +599,7 @@ public final Api updateApi(UpdateApiRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApi can be used to modify a specified API. + * Used to modify a specified API. * *

Sample code: * @@ -625,7 +625,7 @@ public final UnaryCallable updateApiCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApi removes a specified API and all of the resources that it owns. + * Removes a specified API and all of the resources that it owns. * *

Sample code: * @@ -639,7 +639,7 @@ public final UnaryCallable updateApiCallable() { * } * * @param name Required. The name of the API to delete. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApi(ApiName name) { @@ -650,7 +650,7 @@ public final void deleteApi(ApiName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApi removes a specified API and all of the resources that it owns. + * Removes a specified API and all of the resources that it owns. * *

Sample code: * @@ -664,7 +664,7 @@ public final void deleteApi(ApiName name) { * } * * @param name Required. The name of the API to delete. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApi(String name) { @@ -674,7 +674,7 @@ public final void deleteApi(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApi removes a specified API and all of the resources that it owns. + * Removes a specified API and all of the resources that it owns. * *

Sample code: * @@ -685,6 +685,7 @@ public final void deleteApi(String name) { * DeleteApiRequest request = * DeleteApiRequest.newBuilder() * .setName(ApiName.of("[PROJECT]", "[LOCATION]", "[API]").toString()) + * .setForce(true) * .build(); * registryClient.deleteApi(request); * } @@ -699,7 +700,7 @@ public final void deleteApi(DeleteApiRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApi removes a specified API and all of the resources that it owns. + * Removes a specified API and all of the resources that it owns. * *

Sample code: * @@ -710,6 +711,7 @@ public final void deleteApi(DeleteApiRequest request) { * DeleteApiRequest request = * DeleteApiRequest.newBuilder() * .setName(ApiName.of("[PROJECT]", "[LOCATION]", "[API]").toString()) + * .setForce(true) * .build(); * ApiFuture future = registryClient.deleteApiCallable().futureCall(request); * // Do something. @@ -723,7 +725,7 @@ public final UnaryCallable deleteApiCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiVersions returns matching versions. + * Returns matching versions. * *

Sample code: * @@ -739,7 +741,7 @@ public final UnaryCallable deleteApiCallable() { * } * * @param parent Required. The parent, which owns this collection of versions. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiVersionsPagedResponse listApiVersions(ApiName parent) { @@ -752,7 +754,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ApiName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiVersions returns matching versions. + * Returns matching versions. * *

Sample code: * @@ -768,7 +770,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ApiName parent) { * } * * @param parent Required. The parent, which owns this collection of versions. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiVersionsPagedResponse listApiVersions(String parent) { @@ -778,7 +780,7 @@ public final ListApiVersionsPagedResponse listApiVersions(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiVersions returns matching versions. + * Returns matching versions. * *

Sample code: * @@ -808,7 +810,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ListApiVersionsRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiVersions returns matching versions. + * Returns matching versions. * *

Sample code: * @@ -839,7 +841,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ListApiVersionsRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiVersions returns matching versions. + * Returns matching versions. * *

Sample code: * @@ -876,7 +878,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ListApiVersionsRequest // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiVersion returns a specified version. + * Returns a specified version. * *

Sample code: * @@ -890,7 +892,7 @@ public final ListApiVersionsPagedResponse listApiVersions(ListApiVersionsRequest * } * * @param name Required. The name of the version to retrieve. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiVersion getApiVersion(ApiVersionName name) { @@ -901,7 +903,7 @@ public final ApiVersion getApiVersion(ApiVersionName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiVersion returns a specified version. + * Returns a specified version. * *

Sample code: * @@ -915,7 +917,7 @@ public final ApiVersion getApiVersion(ApiVersionName name) { * } * * @param name Required. The name of the version to retrieve. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiVersion getApiVersion(String name) { @@ -925,7 +927,7 @@ public final ApiVersion getApiVersion(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiVersion returns a specified version. + * Returns a specified version. * *

Sample code: * @@ -951,7 +953,7 @@ public final ApiVersion getApiVersion(GetApiVersionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiVersion returns a specified version. + * Returns a specified version. * *

Sample code: * @@ -976,7 +978,7 @@ public final UnaryCallable getApiVersionCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiVersion creates a specified version. + * Creates a specified version. * *

Sample code: * @@ -992,7 +994,7 @@ public final UnaryCallable getApiVersionCallab * } * * @param parent Required. The parent, which owns this collection of versions. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @param apiVersion Required. The version to create. * @param apiVersionId Required. The ID to use for the version, which will become the final * component of the version's resource name. @@ -1013,7 +1015,7 @@ public final ApiVersion createApiVersion( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiVersion creates a specified version. + * Creates a specified version. * *

Sample code: * @@ -1029,7 +1031,7 @@ public final ApiVersion createApiVersion( * } * * @param parent Required. The parent, which owns this collection of versions. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @param apiVersion Required. The version to create. * @param apiVersionId Required. The ID to use for the version, which will become the final * component of the version's resource name. @@ -1050,7 +1052,7 @@ public final ApiVersion createApiVersion( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiVersion creates a specified version. + * Creates a specified version. * *

Sample code: * @@ -1077,7 +1079,7 @@ public final ApiVersion createApiVersion(CreateApiVersionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiVersion creates a specified version. + * Creates a specified version. * *

Sample code: * @@ -1103,7 +1105,7 @@ public final UnaryCallable createApiVersion // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiVersion can be used to modify a specified version. + * Used to modify a specified version. * *

Sample code: * @@ -1119,11 +1121,11 @@ public final UnaryCallable createApiVersion * * @param apiVersion Required. The version to update. *

The `name` field is used to identify the version to update. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @param updateMask The list of fields to be updated. If omitted, all fields are updated that are - * set in the request message (fields set to default values are ignored). If a "*" is - * specified, all fields are updated, including fields that are unspecified/default in the - * request. + * set in the request message (fields set to default values are ignored). If an asterisk + * "*" is specified, all fields are updated, including fields that are unspecified/default + * in the request. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiVersion updateApiVersion(ApiVersion apiVersion, FieldMask updateMask) { @@ -1137,7 +1139,7 @@ public final ApiVersion updateApiVersion(ApiVersion apiVersion, FieldMask update // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiVersion can be used to modify a specified version. + * Used to modify a specified version. * *

Sample code: * @@ -1164,7 +1166,7 @@ public final ApiVersion updateApiVersion(UpdateApiVersionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiVersion can be used to modify a specified version. + * Used to modify a specified version. * *

Sample code: * @@ -1190,7 +1192,7 @@ public final UnaryCallable updateApiVersion // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiVersion removes a specified version and all of the resources that it owns. + * Removes a specified version and all of the resources that it owns. * *

Sample code: * @@ -1204,7 +1206,7 @@ public final UnaryCallable updateApiVersion * } * * @param name Required. The name of the version to delete. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiVersion(ApiVersionName name) { @@ -1215,7 +1217,7 @@ public final void deleteApiVersion(ApiVersionName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiVersion removes a specified version and all of the resources that it owns. + * Removes a specified version and all of the resources that it owns. * *

Sample code: * @@ -1229,7 +1231,7 @@ public final void deleteApiVersion(ApiVersionName name) { * } * * @param name Required. The name of the version to delete. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiVersion(String name) { @@ -1239,7 +1241,7 @@ public final void deleteApiVersion(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiVersion removes a specified version and all of the resources that it owns. + * Removes a specified version and all of the resources that it owns. * *

Sample code: * @@ -1251,6 +1253,7 @@ public final void deleteApiVersion(String name) { * DeleteApiVersionRequest.newBuilder() * .setName( * ApiVersionName.of("[PROJECT]", "[LOCATION]", "[API]", "[VERSION]").toString()) + * .setForce(true) * .build(); * registryClient.deleteApiVersion(request); * } @@ -1265,7 +1268,7 @@ public final void deleteApiVersion(DeleteApiVersionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiVersion removes a specified version and all of the resources that it owns. + * Removes a specified version and all of the resources that it owns. * *

Sample code: * @@ -1277,6 +1280,7 @@ public final void deleteApiVersion(DeleteApiVersionRequest request) { * DeleteApiVersionRequest.newBuilder() * .setName( * ApiVersionName.of("[PROJECT]", "[LOCATION]", "[API]", "[VERSION]").toString()) + * .setForce(true) * .build(); * ApiFuture future = registryClient.deleteApiVersionCallable().futureCall(request); * // Do something. @@ -1290,7 +1294,7 @@ public final UnaryCallable deleteApiVersionCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecs returns matching specs. + * Returns matching specs. * *

Sample code: * @@ -1306,7 +1310,7 @@ public final UnaryCallable deleteApiVersionCalla * } * * @param parent Required. The parent, which owns this collection of specs. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiSpecsPagedResponse listApiSpecs(ApiVersionName parent) { @@ -1319,7 +1323,7 @@ public final ListApiSpecsPagedResponse listApiSpecs(ApiVersionName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecs returns matching specs. + * Returns matching specs. * *

Sample code: * @@ -1335,7 +1339,7 @@ public final ListApiSpecsPagedResponse listApiSpecs(ApiVersionName parent) { * } * * @param parent Required. The parent, which owns this collection of specs. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiSpecsPagedResponse listApiSpecs(String parent) { @@ -1345,7 +1349,7 @@ public final ListApiSpecsPagedResponse listApiSpecs(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecs returns matching specs. + * Returns matching specs. * *

Sample code: * @@ -1376,7 +1380,7 @@ public final ListApiSpecsPagedResponse listApiSpecs(ListApiSpecsRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecs returns matching specs. + * Returns matching specs. * *

Sample code: * @@ -1407,7 +1411,7 @@ public final ListApiSpecsPagedResponse listApiSpecs(ListApiSpecsRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecs returns matching specs. + * Returns matching specs. * *

Sample code: * @@ -1444,7 +1448,7 @@ public final UnaryCallable listApiSpe // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpec returns a specified spec. + * Returns a specified spec. * *

Sample code: * @@ -1458,7 +1462,7 @@ public final UnaryCallable listApiSpe * } * * @param name Required. The name of the spec to retrieve. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiSpec getApiSpec(ApiSpecName name) { @@ -1469,7 +1473,7 @@ public final ApiSpec getApiSpec(ApiSpecName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpec returns a specified spec. + * Returns a specified spec. * *

Sample code: * @@ -1484,7 +1488,7 @@ public final ApiSpec getApiSpec(ApiSpecName name) { * } * * @param name Required. The name of the spec to retrieve. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiSpec getApiSpec(String name) { @@ -1494,7 +1498,7 @@ public final ApiSpec getApiSpec(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpec returns a specified spec. + * Returns a specified spec. * *

Sample code: * @@ -1521,7 +1525,7 @@ public final ApiSpec getApiSpec(GetApiSpecRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpec returns a specified spec. + * Returns a specified spec. * *

Sample code: * @@ -1547,9 +1551,9 @@ public final UnaryCallable getApiSpecCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip - * compression, the default behavior is to return the spec uncompressed (the mime_type response - * field indicates the exact format returned). + * Returns the contents of a specified spec. If specs are stored with GZip compression, the + * default behavior is to return the spec uncompressed (the mime_type response field indicates the + * exact format returned). * *

Sample code: * @@ -1563,7 +1567,7 @@ public final UnaryCallable getApiSpecCallable() { * } * * @param name Required. The name of the spec whose contents should be retrieved. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HttpBody getApiSpecContents(ApiSpecName name) { @@ -1576,9 +1580,9 @@ public final HttpBody getApiSpecContents(ApiSpecName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip - * compression, the default behavior is to return the spec uncompressed (the mime_type response - * field indicates the exact format returned). + * Returns the contents of a specified spec. If specs are stored with GZip compression, the + * default behavior is to return the spec uncompressed (the mime_type response field indicates the + * exact format returned). * *

Sample code: * @@ -1593,7 +1597,7 @@ public final HttpBody getApiSpecContents(ApiSpecName name) { * } * * @param name Required. The name of the spec whose contents should be retrieved. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HttpBody getApiSpecContents(String name) { @@ -1604,9 +1608,9 @@ public final HttpBody getApiSpecContents(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip - * compression, the default behavior is to return the spec uncompressed (the mime_type response - * field indicates the exact format returned). + * Returns the contents of a specified spec. If specs are stored with GZip compression, the + * default behavior is to return the spec uncompressed (the mime_type response field indicates the + * exact format returned). * *

Sample code: * @@ -1633,9 +1637,9 @@ public final HttpBody getApiSpecContents(GetApiSpecContentsRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiSpecContents returns the contents of a specified spec. If specs are stored with GZip - * compression, the default behavior is to return the spec uncompressed (the mime_type response - * field indicates the exact format returned). + * Returns the contents of a specified spec. If specs are stored with GZip compression, the + * default behavior is to return the spec uncompressed (the mime_type response field indicates the + * exact format returned). * *

Sample code: * @@ -1661,7 +1665,7 @@ public final UnaryCallable getApiSpecConten // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiSpec creates a specified spec. + * Creates a specified spec. * *

Sample code: * @@ -1677,7 +1681,7 @@ public final UnaryCallable getApiSpecConten * } * * @param parent Required. The parent, which owns this collection of specs. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @param apiSpec Required. The spec to create. * @param apiSpecId Required. The ID to use for the spec, which will become the final component of * the spec's resource name. @@ -1697,7 +1701,7 @@ public final ApiSpec createApiSpec(ApiVersionName parent, ApiSpec apiSpec, Strin // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiSpec creates a specified spec. + * Creates a specified spec. * *

Sample code: * @@ -1713,7 +1717,7 @@ public final ApiSpec createApiSpec(ApiVersionName parent, ApiSpec apiSpec, Strin * } * * @param parent Required. The parent, which owns this collection of specs. Format: - * projects/*/locations/*/apis/*/versions/* + * `projects/*/locations/*/apis/*/versions/*` * @param apiSpec Required. The spec to create. * @param apiSpecId Required. The ID to use for the spec, which will become the final component of * the spec's resource name. @@ -1733,7 +1737,7 @@ public final ApiSpec createApiSpec(String parent, ApiSpec apiSpec, String apiSpe // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiSpec creates a specified spec. + * Creates a specified spec. * *

Sample code: * @@ -1761,7 +1765,7 @@ public final ApiSpec createApiSpec(CreateApiSpecRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiSpec creates a specified spec. + * Creates a specified spec. * *

Sample code: * @@ -1788,7 +1792,7 @@ public final UnaryCallable createApiSpecCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiSpec can be used to modify a specified spec. + * Used to modify a specified spec. * *

Sample code: * @@ -1804,11 +1808,11 @@ public final UnaryCallable createApiSpecCallable( * * @param apiSpec Required. The spec to update. *

The `name` field is used to identify the spec to update. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @param updateMask The list of fields to be updated. If omitted, all fields are updated that are - * set in the request message (fields set to default values are ignored). If a "*" is - * specified, all fields are updated, including fields that are unspecified/default in the - * request. + * set in the request message (fields set to default values are ignored). If an asterisk + * "*" is specified, all fields are updated, including fields that are unspecified/default + * in the request. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiSpec updateApiSpec(ApiSpec apiSpec, FieldMask updateMask) { @@ -1819,7 +1823,7 @@ public final ApiSpec updateApiSpec(ApiSpec apiSpec, FieldMask updateMask) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiSpec can be used to modify a specified spec. + * Used to modify a specified spec. * *

Sample code: * @@ -1846,7 +1850,7 @@ public final ApiSpec updateApiSpec(UpdateApiSpecRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiSpec can be used to modify a specified spec. + * Used to modify a specified spec. * *

Sample code: * @@ -1872,8 +1876,7 @@ public final UnaryCallable updateApiSpecCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. - * artifacts). + * Removes a specified spec, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -1887,7 +1890,7 @@ public final UnaryCallable updateApiSpecCallable( * } * * @param name Required. The name of the spec to delete. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiSpec(ApiSpecName name) { @@ -1898,8 +1901,7 @@ public final void deleteApiSpec(ApiSpecName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. - * artifacts). + * Removes a specified spec, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -1914,7 +1916,7 @@ public final void deleteApiSpec(ApiSpecName name) { * } * * @param name Required. The name of the spec to delete. Format: - * projects/*/locations/*/apis/*/versions/*/specs/* + * `projects/*/locations/*/apis/*/versions/*/specs/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiSpec(String name) { @@ -1924,8 +1926,7 @@ public final void deleteApiSpec(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. - * artifacts). + * Removes a specified spec, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -1953,8 +1954,7 @@ public final void deleteApiSpec(DeleteApiSpecRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpec removes a specified spec, all revisions, and all child resources (e.g. - * artifacts). + * Removes a specified spec, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -1981,7 +1981,7 @@ public final UnaryCallable deleteApiSpecCallable() // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * TagApiSpecRevision adds a tag to a specified revision of a spec. + * Adds a tag to a specified revision of a spec. * *

Sample code: * @@ -2009,7 +2009,7 @@ public final ApiSpec tagApiSpecRevision(TagApiSpecRevisionRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * TagApiSpecRevision adds a tag to a specified revision of a spec. + * Adds a tag to a specified revision of a spec. * *

Sample code: * @@ -2036,8 +2036,8 @@ public final UnaryCallable tagApiSpecRevisio // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order - * of revision creation time. + * Lists all revisions of a spec. Revisions are returned in descending order of revision creation + * time. * *

Sample code: * @@ -2069,8 +2069,8 @@ public final ListApiSpecRevisionsPagedResponse listApiSpecRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order - * of revision creation time. + * Lists all revisions of a spec. Revisions are returned in descending order of revision creation + * time. * *

Sample code: * @@ -2102,8 +2102,8 @@ public final ListApiSpecRevisionsPagedResponse listApiSpecRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiSpecRevisions lists all revisions of a spec. Revisions are returned in descending order - * of revision creation time. + * Lists all revisions of a spec. Revisions are returned in descending order of revision creation + * time. * *

Sample code: * @@ -2142,8 +2142,8 @@ public final ListApiSpecRevisionsPagedResponse listApiSpecRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates - * a new revision with a new revision ID. + * Sets the current revision to a specified prior revision. Note that this creates a new revision + * with a new revision ID. * *

Sample code: * @@ -2171,8 +2171,8 @@ public final ApiSpec rollbackApiSpec(RollbackApiSpecRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * RollbackApiSpec sets the current revision to a specified prior revision. Note that this creates - * a new revision with a new revision ID. + * Sets the current revision to a specified prior revision. Note that this creates a new revision + * with a new revision ID. * *

Sample code: * @@ -2199,7 +2199,7 @@ public final UnaryCallable rollbackApiSpecCalla // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpecRevision deletes a revision of a spec. + * Deletes a revision of a spec. * *

Sample code: * @@ -2215,7 +2215,7 @@ public final UnaryCallable rollbackApiSpecCalla * @param name Required. The name of the spec revision to be deleted, with a revision ID * explicitly included. *

Example: - * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml{@literal @}c7cfa2a8 + * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml{@literal @}c7cfa2a8` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiSpec deleteApiSpecRevision(ApiSpecName name) { @@ -2228,7 +2228,7 @@ public final ApiSpec deleteApiSpecRevision(ApiSpecName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpecRevision deletes a revision of a spec. + * Deletes a revision of a spec. * *

Sample code: * @@ -2245,7 +2245,7 @@ public final ApiSpec deleteApiSpecRevision(ApiSpecName name) { * @param name Required. The name of the spec revision to be deleted, with a revision ID * explicitly included. *

Example: - * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml{@literal @}c7cfa2a8 + * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml{@literal @}c7cfa2a8` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiSpec deleteApiSpecRevision(String name) { @@ -2256,7 +2256,7 @@ public final ApiSpec deleteApiSpecRevision(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpecRevision deletes a revision of a spec. + * Deletes a revision of a spec. * *

Sample code: * @@ -2283,7 +2283,7 @@ public final ApiSpec deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiSpecRevision deletes a revision of a spec. + * Deletes a revision of a spec. * *

Sample code: * @@ -2311,7 +2311,7 @@ public final ApiSpec deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeployments returns matching deployments. + * Returns matching deployments. * *

Sample code: * @@ -2327,7 +2327,7 @@ public final ApiSpec deleteApiSpecRevision(DeleteApiSpecRevisionRequest request) * } * * @param parent Required. The parent, which owns this collection of deployments. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiDeploymentsPagedResponse listApiDeployments(ApiName parent) { @@ -2340,7 +2340,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments(ApiName parent) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeployments returns matching deployments. + * Returns matching deployments. * *

Sample code: * @@ -2356,7 +2356,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments(ApiName parent) * } * * @param parent Required. The parent, which owns this collection of deployments. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListApiDeploymentsPagedResponse listApiDeployments(String parent) { @@ -2367,7 +2367,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeployments returns matching deployments. + * Returns matching deployments. * *

Sample code: * @@ -2398,7 +2398,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeployments returns matching deployments. + * Returns matching deployments. * *

Sample code: * @@ -2429,7 +2429,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeployments returns matching deployments. + * Returns matching deployments. * *

Sample code: * @@ -2467,7 +2467,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiDeployment returns a specified deployment. + * Returns a specified deployment. * *

Sample code: * @@ -2482,7 +2482,7 @@ public final ListApiDeploymentsPagedResponse listApiDeployments( * } * * @param name Required. The name of the deployment to retrieve. Format: - * projects/*/locations/*/apis/*/deployments/* + * `projects/*/locations/*/apis/*/deployments/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiDeployment getApiDeployment(ApiDeploymentName name) { @@ -2493,7 +2493,7 @@ public final ApiDeployment getApiDeployment(ApiDeploymentName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiDeployment returns a specified deployment. + * Returns a specified deployment. * *

Sample code: * @@ -2508,7 +2508,7 @@ public final ApiDeployment getApiDeployment(ApiDeploymentName name) { * } * * @param name Required. The name of the deployment to retrieve. Format: - * projects/*/locations/*/apis/*/deployments/* + * `projects/*/locations/*/apis/*/deployments/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiDeployment getApiDeployment(String name) { @@ -2518,7 +2518,7 @@ public final ApiDeployment getApiDeployment(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiDeployment returns a specified deployment. + * Returns a specified deployment. * *

Sample code: * @@ -2545,7 +2545,7 @@ public final ApiDeployment getApiDeployment(GetApiDeploymentRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetApiDeployment returns a specified deployment. + * Returns a specified deployment. * *

Sample code: * @@ -2572,7 +2572,7 @@ public final UnaryCallable getApiDeploym // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiDeployment creates a specified deployment. + * Creates a specified deployment. * *

Sample code: * @@ -2589,7 +2589,7 @@ public final UnaryCallable getApiDeploym * } * * @param parent Required. The parent, which owns this collection of deployments. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @param apiDeployment Required. The deployment to create. * @param apiDeploymentId Required. The ID to use for the deployment, which will become the final * component of the deployment's resource name. @@ -2610,7 +2610,7 @@ public final ApiDeployment createApiDeployment( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiDeployment creates a specified deployment. + * Creates a specified deployment. * *

Sample code: * @@ -2627,7 +2627,7 @@ public final ApiDeployment createApiDeployment( * } * * @param parent Required. The parent, which owns this collection of deployments. Format: - * projects/*/locations/*/apis/* + * `projects/*/locations/*/apis/*` * @param apiDeployment Required. The deployment to create. * @param apiDeploymentId Required. The ID to use for the deployment, which will become the final * component of the deployment's resource name. @@ -2648,7 +2648,7 @@ public final ApiDeployment createApiDeployment( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiDeployment creates a specified deployment. + * Creates a specified deployment. * *

Sample code: * @@ -2675,7 +2675,7 @@ public final ApiDeployment createApiDeployment(CreateApiDeploymentRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateApiDeployment creates a specified deployment. + * Creates a specified deployment. * *

Sample code: * @@ -2703,7 +2703,7 @@ public final ApiDeployment createApiDeployment(CreateApiDeploymentRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiDeployment can be used to modify a specified deployment. + * Used to modify a specified deployment. * *

Sample code: * @@ -2719,11 +2719,11 @@ public final ApiDeployment createApiDeployment(CreateApiDeploymentRequest reques * * @param apiDeployment Required. The deployment to update. *

The `name` field is used to identify the deployment to update. Format: - * projects/*/locations/*/apis/*/deployments/* + * `projects/*/locations/*/apis/*/deployments/*` * @param updateMask The list of fields to be updated. If omitted, all fields are updated that are - * set in the request message (fields set to default values are ignored). If a "*" is - * specified, all fields are updated, including fields that are unspecified/default in the - * request. + * set in the request message (fields set to default values are ignored). If an asterisk + * "*" is specified, all fields are updated, including fields that are unspecified/default + * in the request. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiDeployment updateApiDeployment( @@ -2738,7 +2738,7 @@ public final ApiDeployment updateApiDeployment( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiDeployment can be used to modify a specified deployment. + * Used to modify a specified deployment. * *

Sample code: * @@ -2765,7 +2765,7 @@ public final ApiDeployment updateApiDeployment(UpdateApiDeploymentRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * UpdateApiDeployment can be used to modify a specified deployment. + * Used to modify a specified deployment. * *

Sample code: * @@ -2793,8 +2793,7 @@ public final ApiDeployment updateApiDeployment(UpdateApiDeploymentRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeployment removes a specified deployment, all revisions, and all child resources - * (e.g. artifacts). + * Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -2809,7 +2808,7 @@ public final ApiDeployment updateApiDeployment(UpdateApiDeploymentRequest reques * } * * @param name Required. The name of the deployment to delete. Format: - * projects/*/locations/*/apis/*/deployments/* + * `projects/*/locations/*/apis/*/deployments/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiDeployment(ApiDeploymentName name) { @@ -2822,8 +2821,7 @@ public final void deleteApiDeployment(ApiDeploymentName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeployment removes a specified deployment, all revisions, and all child resources - * (e.g. artifacts). + * Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -2838,7 +2836,7 @@ public final void deleteApiDeployment(ApiDeploymentName name) { * } * * @param name Required. The name of the deployment to delete. Format: - * projects/*/locations/*/apis/*/deployments/* + * `projects/*/locations/*/apis/*/deployments/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteApiDeployment(String name) { @@ -2849,8 +2847,7 @@ public final void deleteApiDeployment(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeployment removes a specified deployment, all revisions, and all child resources - * (e.g. artifacts). + * Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -2878,8 +2875,7 @@ public final void deleteApiDeployment(DeleteApiDeploymentRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeployment removes a specified deployment, all revisions, and all child resources - * (e.g. artifacts). + * Removes a specified deployment, all revisions, and all child resources (e.g., artifacts). * *

Sample code: * @@ -2906,7 +2902,7 @@ public final UnaryCallable deleteApiDeploymen // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * TagApiDeploymentRevision adds a tag to a specified revision of a deployment. + * Adds a tag to a specified revision of a deployment. * *

Sample code: * @@ -2934,7 +2930,7 @@ public final ApiDeployment tagApiDeploymentRevision(TagApiDeploymentRevisionRequ // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * TagApiDeploymentRevision adds a tag to a specified revision of a deployment. + * Adds a tag to a specified revision of a deployment. * *

Sample code: * @@ -2963,8 +2959,8 @@ public final ApiDeployment tagApiDeploymentRevision(TagApiDeploymentRevisionRequ // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in - * descending order of revision creation time. + * Lists all revisions of a deployment. Revisions are returned in descending order of revision + * creation time. * *

Sample code: * @@ -2997,8 +2993,8 @@ public final ListApiDeploymentRevisionsPagedResponse listApiDeploymentRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in - * descending order of revision creation time. + * Lists all revisions of a deployment. Revisions are returned in descending order of revision + * creation time. * *

Sample code: * @@ -3031,8 +3027,8 @@ public final ListApiDeploymentRevisionsPagedResponse listApiDeploymentRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListApiDeploymentRevisions lists all revisions of a deployment. Revisions are returned in - * descending order of revision creation time. + * Lists all revisions of a deployment. Revisions are returned in descending order of revision + * creation time. * *

Sample code: * @@ -3071,8 +3067,8 @@ public final ListApiDeploymentRevisionsPagedResponse listApiDeploymentRevisions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * RollbackApiDeployment sets the current revision to a specified prior revision. Note that this - * creates a new revision with a new revision ID. + * Sets the current revision to a specified prior revision. Note that this creates a new revision + * with a new revision ID. * *

Sample code: * @@ -3100,8 +3096,8 @@ public final ApiDeployment rollbackApiDeployment(RollbackApiDeploymentRequest re // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * RollbackApiDeployment sets the current revision to a specified prior revision. Note that this - * creates a new revision with a new revision ID. + * Sets the current revision to a specified prior revision. Note that this creates a new revision + * with a new revision ID. * *

Sample code: * @@ -3130,7 +3126,7 @@ public final ApiDeployment rollbackApiDeployment(RollbackApiDeploymentRequest re // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeploymentRevision deletes a revision of a deployment. + * Deletes a revision of a deployment. * *

Sample code: * @@ -3147,7 +3143,7 @@ public final ApiDeployment rollbackApiDeployment(RollbackApiDeploymentRequest re * @param name Required. The name of the deployment revision to be deleted, with a revision ID * explicitly included. *

Example: - * projects/sample/locations/global/apis/petstore/deployments/prod{@literal @}c7cfa2a8 + * `projects/sample/locations/global/apis/petstore/deployments/prod{@literal @}c7cfa2a8` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiDeployment deleteApiDeploymentRevision(ApiDeploymentName name) { @@ -3160,7 +3156,7 @@ public final ApiDeployment deleteApiDeploymentRevision(ApiDeploymentName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeploymentRevision deletes a revision of a deployment. + * Deletes a revision of a deployment. * *

Sample code: * @@ -3177,7 +3173,7 @@ public final ApiDeployment deleteApiDeploymentRevision(ApiDeploymentName name) { * @param name Required. The name of the deployment revision to be deleted, with a revision ID * explicitly included. *

Example: - * projects/sample/locations/global/apis/petstore/deployments/prod{@literal @}c7cfa2a8 + * `projects/sample/locations/global/apis/petstore/deployments/prod{@literal @}c7cfa2a8` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ApiDeployment deleteApiDeploymentRevision(String name) { @@ -3188,7 +3184,7 @@ public final ApiDeployment deleteApiDeploymentRevision(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeploymentRevision deletes a revision of a deployment. + * Deletes a revision of a deployment. * *

Sample code: * @@ -3216,7 +3212,7 @@ public final ApiDeployment deleteApiDeploymentRevision( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteApiDeploymentRevision deletes a revision of a deployment. + * Deletes a revision of a deployment. * *

Sample code: * @@ -3244,7 +3240,7 @@ public final ApiDeployment deleteApiDeploymentRevision( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3260,7 +3256,7 @@ public final ApiDeployment deleteApiDeploymentRevision( * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(ApiDeploymentName parent) { @@ -3273,7 +3269,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiDeploymentName parent) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3288,7 +3284,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiDeploymentName parent) * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(ApiName parent) { @@ -3301,7 +3297,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3317,7 +3313,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiName parent) { * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(ApiSpecName parent) { @@ -3330,7 +3326,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiSpecName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3345,7 +3341,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiSpecName parent) { * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(ApiVersionName parent) { @@ -3358,7 +3354,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiVersionName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3373,7 +3369,7 @@ public final ListArtifactsPagedResponse listArtifacts(ApiVersionName parent) { * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(LocationName parent) { @@ -3386,7 +3382,7 @@ public final ListArtifactsPagedResponse listArtifacts(LocationName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3401,7 +3397,7 @@ public final ListArtifactsPagedResponse listArtifacts(LocationName parent) { * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListArtifactsPagedResponse listArtifacts(String parent) { @@ -3411,7 +3407,7 @@ public final ListArtifactsPagedResponse listArtifacts(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3441,7 +3437,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3471,7 +3467,7 @@ public final ListArtifactsPagedResponse listArtifacts(ListArtifactsRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ListArtifacts returns matching artifacts. + * Returns matching artifacts. * *

Sample code: * @@ -3507,7 +3503,7 @@ public final UnaryCallable listArti // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifact returns a specified artifact. + * Returns a specified artifact. * *

Sample code: * @@ -3521,7 +3517,7 @@ public final UnaryCallable listArti * } * } * - * @param name Required. The name of the artifact to retrieve. Format: {parent}/artifacts/* + * @param name Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Artifact getArtifact(ArtifactName name) { @@ -3532,7 +3528,7 @@ public final Artifact getArtifact(ArtifactName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifact returns a specified artifact. + * Returns a specified artifact. * *

Sample code: * @@ -3547,7 +3543,7 @@ public final Artifact getArtifact(ArtifactName name) { * } * } * - * @param name Required. The name of the artifact to retrieve. Format: {parent}/artifacts/* + * @param name Required. The name of the artifact to retrieve. Format: `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Artifact getArtifact(String name) { @@ -3557,7 +3553,7 @@ public final Artifact getArtifact(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifact returns a specified artifact. + * Returns a specified artifact. * *

Sample code: * @@ -3585,7 +3581,7 @@ public final Artifact getArtifact(GetArtifactRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifact returns a specified artifact. + * Returns a specified artifact. * *

Sample code: * @@ -3612,9 +3608,9 @@ public final UnaryCallable getArtifactCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with - * GZip compression, the default behavior is to return the artifact uncompressed (the mime_type - * response field indicates the exact format returned). + * Returns the contents of a specified artifact. If artifacts are stored with GZip compression, + * the default behavior is to return the artifact uncompressed (the mime_type response field + * indicates the exact format returned). * *

Sample code: * @@ -3629,7 +3625,7 @@ public final UnaryCallable getArtifactCallable() { * } * * @param name Required. The name of the artifact whose contents should be retrieved. Format: - * {parent}/artifacts/* + * `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HttpBody getArtifactContents(ArtifactName name) { @@ -3642,9 +3638,9 @@ public final HttpBody getArtifactContents(ArtifactName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with - * GZip compression, the default behavior is to return the artifact uncompressed (the mime_type - * response field indicates the exact format returned). + * Returns the contents of a specified artifact. If artifacts are stored with GZip compression, + * the default behavior is to return the artifact uncompressed (the mime_type response field + * indicates the exact format returned). * *

Sample code: * @@ -3660,7 +3656,7 @@ public final HttpBody getArtifactContents(ArtifactName name) { * } * * @param name Required. The name of the artifact whose contents should be retrieved. Format: - * {parent}/artifacts/* + * `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final HttpBody getArtifactContents(String name) { @@ -3671,9 +3667,9 @@ public final HttpBody getArtifactContents(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with - * GZip compression, the default behavior is to return the artifact uncompressed (the mime_type - * response field indicates the exact format returned). + * Returns the contents of a specified artifact. If artifacts are stored with GZip compression, + * the default behavior is to return the artifact uncompressed (the mime_type response field + * indicates the exact format returned). * *

Sample code: * @@ -3701,9 +3697,9 @@ public final HttpBody getArtifactContents(GetArtifactContentsRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * GetArtifactContents returns the contents of a specified artifact. If artifacts are stored with - * GZip compression, the default behavior is to return the artifact uncompressed (the mime_type - * response field indicates the exact format returned). + * Returns the contents of a specified artifact. If artifacts are stored with GZip compression, + * the default behavior is to return the artifact uncompressed (the mime_type response field + * indicates the exact format returned). * *

Sample code: * @@ -3730,7 +3726,7 @@ public final UnaryCallable getArtifactCont // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3746,7 +3742,7 @@ public final UnaryCallable getArtifactCont * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3767,7 +3763,7 @@ public final Artifact createArtifact( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3782,7 +3778,7 @@ public final Artifact createArtifact( * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3802,7 +3798,7 @@ public final Artifact createArtifact(ApiName parent, Artifact artifact, String a // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3818,7 +3814,7 @@ public final Artifact createArtifact(ApiName parent, Artifact artifact, String a * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3838,7 +3834,7 @@ public final Artifact createArtifact(ApiSpecName parent, Artifact artifact, Stri // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3853,7 +3849,7 @@ public final Artifact createArtifact(ApiSpecName parent, Artifact artifact, Stri * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3874,7 +3870,7 @@ public final Artifact createArtifact( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3889,7 +3885,7 @@ public final Artifact createArtifact( * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3909,7 +3905,7 @@ public final Artifact createArtifact(LocationName parent, Artifact artifact, Str // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3924,7 +3920,7 @@ public final Artifact createArtifact(LocationName parent, Artifact artifact, Str * } * } * - * @param parent Required. The parent, which owns this collection of artifacts. Format: {parent} + * @param parent Required. The parent, which owns this collection of artifacts. Format: `{parent}` * @param artifact Required. The artifact to create. * @param artifactId Required. The ID to use for the artifact, which will become the final * component of the artifact's resource name. @@ -3944,7 +3940,7 @@ public final Artifact createArtifact(String parent, Artifact artifact, String ar // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3971,7 +3967,7 @@ public final Artifact createArtifact(CreateArtifactRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * CreateArtifact creates a specified artifact. + * Creates a specified artifact. * *

Sample code: * @@ -3997,7 +3993,7 @@ public final UnaryCallable createArtifactCallab // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ReplaceArtifact can be used to replace a specified artifact. + * Used to replace a specified artifact. * *

Sample code: * @@ -4012,7 +4008,7 @@ public final UnaryCallable createArtifactCallab * * @param artifact Required. The artifact to replace. *

The `name` field is used to identify the artifact to replace. Format: - * {parent}/artifacts/* + * `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Artifact replaceArtifact(Artifact artifact) { @@ -4023,7 +4019,7 @@ public final Artifact replaceArtifact(Artifact artifact) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ReplaceArtifact can be used to replace a specified artifact. + * Used to replace a specified artifact. * *

Sample code: * @@ -4046,7 +4042,7 @@ public final Artifact replaceArtifact(ReplaceArtifactRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * ReplaceArtifact can be used to replace a specified artifact. + * Used to replace a specified artifact. * *

Sample code: * @@ -4068,7 +4064,7 @@ public final UnaryCallable replaceArtifactCall // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteArtifact removes a specified artifact. + * Removes a specified artifact. * *

Sample code: * @@ -4082,7 +4078,7 @@ public final UnaryCallable replaceArtifactCall * } * } * - * @param name Required. The name of the artifact to delete. Format: {parent}/artifacts/* + * @param name Required. The name of the artifact to delete. Format: `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteArtifact(ArtifactName name) { @@ -4093,7 +4089,7 @@ public final void deleteArtifact(ArtifactName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteArtifact removes a specified artifact. + * Removes a specified artifact. * *

Sample code: * @@ -4108,7 +4104,7 @@ public final void deleteArtifact(ArtifactName name) { * } * } * - * @param name Required. The name of the artifact to delete. Format: {parent}/artifacts/* + * @param name Required. The name of the artifact to delete. Format: `{parent}/artifacts/*` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteArtifact(String name) { @@ -4118,7 +4114,7 @@ public final void deleteArtifact(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteArtifact removes a specified artifact. + * Removes a specified artifact. * *

Sample code: * @@ -4146,7 +4142,7 @@ public final void deleteArtifact(DeleteArtifactRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * DeleteArtifact removes a specified artifact. + * Removes a specified artifact. * *

Sample code: * @@ -4578,10 +4574,7 @@ protected ListApisFixedSizeCollection createCollection( public static class ListApiVersionsPagedResponse extends AbstractPagedListResponse< - ListApiVersionsRequest, - ListApiVersionsResponse, - ApiVersion, - ListApiVersionsPage, + ListApiVersionsRequest, ListApiVersionsResponse, ApiVersion, ListApiVersionsPage, ListApiVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4631,10 +4624,7 @@ public ApiFuture createPageAsync( public static class ListApiVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiVersionsRequest, - ListApiVersionsResponse, - ApiVersion, - ListApiVersionsPage, + ListApiVersionsRequest, ListApiVersionsResponse, ApiVersion, ListApiVersionsPage, ListApiVersionsFixedSizeCollection> { private ListApiVersionsFixedSizeCollection( @@ -4655,10 +4645,7 @@ protected ListApiVersionsFixedSizeCollection createCollection( public static class ListApiSpecsPagedResponse extends AbstractPagedListResponse< - ListApiSpecsRequest, - ListApiSpecsResponse, - ApiSpec, - ListApiSpecsPage, + ListApiSpecsRequest, ListApiSpecsResponse, ApiSpec, ListApiSpecsPage, ListApiSpecsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4707,10 +4694,7 @@ public ApiFuture createPageAsync( public static class ListApiSpecsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiSpecsRequest, - ListApiSpecsResponse, - ApiSpec, - ListApiSpecsPage, + ListApiSpecsRequest, ListApiSpecsResponse, ApiSpec, ListApiSpecsPage, ListApiSpecsFixedSizeCollection> { private ListApiSpecsFixedSizeCollection(List pages, int collectionSize) { @@ -4730,11 +4714,8 @@ protected ListApiSpecsFixedSizeCollection createCollection( public static class ListApiSpecRevisionsPagedResponse extends AbstractPagedListResponse< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, - ApiSpec, - ListApiSpecRevisionsPage, - ListApiSpecRevisionsFixedSizeCollection> { + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, + ListApiSpecRevisionsPage, ListApiSpecRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4754,9 +4735,7 @@ private ListApiSpecRevisionsPagedResponse(ListApiSpecRevisionsPage page) { public static class ListApiSpecRevisionsPage extends AbstractPage< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, - ApiSpec, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, ListApiSpecRevisionsPage> { private ListApiSpecRevisionsPage( @@ -4786,11 +4765,8 @@ public ApiFuture createPageAsync( public static class ListApiSpecRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, - ApiSpec, - ListApiSpecRevisionsPage, - ListApiSpecRevisionsFixedSizeCollection> { + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, + ListApiSpecRevisionsPage, ListApiSpecRevisionsFixedSizeCollection> { private ListApiSpecRevisionsFixedSizeCollection( List pages, int collectionSize) { @@ -4810,11 +4786,8 @@ protected ListApiSpecRevisionsFixedSizeCollection createCollection( public static class ListApiDeploymentsPagedResponse extends AbstractPagedListResponse< - ListApiDeploymentsRequest, - ListApiDeploymentsResponse, - ApiDeployment, - ListApiDeploymentsPage, - ListApiDeploymentsFixedSizeCollection> { + ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, + ListApiDeploymentsPage, ListApiDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4834,9 +4807,7 @@ private ListApiDeploymentsPagedResponse(ListApiDeploymentsPage page) { public static class ListApiDeploymentsPage extends AbstractPage< - ListApiDeploymentsRequest, - ListApiDeploymentsResponse, - ApiDeployment, + ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, ListApiDeploymentsPage> { private ListApiDeploymentsPage( @@ -4866,11 +4837,8 @@ public ApiFuture createPageAsync( public static class ListApiDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiDeploymentsRequest, - ListApiDeploymentsResponse, - ApiDeployment, - ListApiDeploymentsPage, - ListApiDeploymentsFixedSizeCollection> { + ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, + ListApiDeploymentsPage, ListApiDeploymentsFixedSizeCollection> { private ListApiDeploymentsFixedSizeCollection( List pages, int collectionSize) { @@ -4890,16 +4858,12 @@ protected ListApiDeploymentsFixedSizeCollection createCollection( public static class ListApiDeploymentRevisionsPagedResponse extends AbstractPagedListResponse< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, - ApiDeployment, - ListApiDeploymentRevisionsPage, - ListApiDeploymentRevisionsFixedSizeCollection> { + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, + ListApiDeploymentRevisionsPage, ListApiDeploymentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> context, ApiFuture futureResponse) { @@ -4918,15 +4882,12 @@ private ListApiDeploymentRevisionsPagedResponse(ListApiDeploymentRevisionsPage p public static class ListApiDeploymentRevisionsPage extends AbstractPage< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, - ApiDeployment, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, ListApiDeploymentRevisionsPage> { private ListApiDeploymentRevisionsPage( PageContext< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> context, ListApiDeploymentRevisionsResponse response) { @@ -4940,8 +4901,7 @@ private static ListApiDeploymentRevisionsPage createEmptyPage() { @Override protected ListApiDeploymentRevisionsPage createPage( PageContext< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> context, ListApiDeploymentRevisionsResponse response) { @@ -4951,8 +4911,7 @@ protected ListApiDeploymentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> context, ApiFuture futureResponse) { @@ -4962,11 +4921,8 @@ public ApiFuture createPageAsync( public static class ListApiDeploymentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, - ApiDeployment, - ListApiDeploymentRevisionsPage, - ListApiDeploymentRevisionsFixedSizeCollection> { + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, + ListApiDeploymentRevisionsPage, ListApiDeploymentRevisionsFixedSizeCollection> { private ListApiDeploymentRevisionsFixedSizeCollection( List pages, int collectionSize) { @@ -4986,10 +4942,7 @@ protected ListApiDeploymentRevisionsFixedSizeCollection createCollection( public static class ListArtifactsPagedResponse extends AbstractPagedListResponse< - ListArtifactsRequest, - ListArtifactsResponse, - Artifact, - ListArtifactsPage, + ListArtifactsRequest, ListArtifactsResponse, Artifact, ListArtifactsPage, ListArtifactsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5039,10 +4992,7 @@ public ApiFuture createPageAsync( public static class ListArtifactsFixedSizeCollection extends AbstractFixedSizeCollection< - ListArtifactsRequest, - ListArtifactsResponse, - Artifact, - ListArtifactsPage, + ListArtifactsRequest, ListArtifactsResponse, Artifact, ListArtifactsPage, ListArtifactsFixedSizeCollection> { private ListArtifactsFixedSizeCollection(List pages, int collectionSize) { @@ -5062,10 +5012,7 @@ protected ListArtifactsFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5115,10 +5062,7 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java similarity index 97% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java index 0e3a9ed..10cb301 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java @@ -36,6 +36,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.apigeeregistry.v1.stub.RegistryStubSettings; @@ -60,10 +61,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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 @@ -181,8 +182,7 @@ public UnaryCallSettings tagApiSpecRevisionS /** Returns the object with the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return ((RegistryStubSettings) getStubSettings()).listApiSpecRevisionsSettings(); @@ -235,8 +235,7 @@ public UnaryCallSettings deleteApiDeploymentS /** Returns the object with the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return ((RegistryStubSettings) getStubSettings()).listApiDeploymentRevisionsSettings(); @@ -522,8 +521,7 @@ public UnaryCallSettings.Builder deleteApiSpecSetti /** Returns the builder for the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return getStubSettingsBuilder().listApiSpecRevisionsSettings(); @@ -579,8 +577,7 @@ public UnaryCallSettings.Builder rollbackApiSpe /** Returns the builder for the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return getStubSettingsBuilder().listApiDeploymentRevisionsSettings(); diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java similarity index 99% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java index 6ceb072..6661d8a 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java @@ -46,6 +46,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java similarity index 99% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java index c1eba99..70303ca 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java @@ -94,6 +94,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java similarity index 99% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java index 521c343..8080827 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java @@ -30,6 +30,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java similarity index 99% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java index e0ac003..3c94c22 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java @@ -273,6 +273,7 @@ public class HttpJsonRegistryStub extends RegistryStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); return fields; }) .setRequestBodyExtractor(request -> null) @@ -453,6 +454,7 @@ public class HttpJsonRegistryStub extends RegistryStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); return fields; }) .setRequestBodyExtractor(request -> null) diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java similarity index 99% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java index aa8efb9..429412b 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java @@ -79,10 +79,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java similarity index 100% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java diff --git a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java similarity index 98% rename from google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java index 825fd15..f75300e 100644 --- a/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java @@ -124,10 +124,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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 @@ -180,8 +180,7 @@ public class RegistryStubSettings extends StubSettings { private final UnaryCallSettings deleteApiSpecSettings; private final UnaryCallSettings tagApiSpecRevisionSettings; private final PagedCallSettings< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings; private final UnaryCallSettings rollbackApiSpecSettings; @@ -199,8 +198,7 @@ public class RegistryStubSettings extends StubSettings { private final UnaryCallSettings tagApiDeploymentRevisionSettings; private final PagedCallSettings< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings; private final UnaryCallSettings @@ -419,8 +417,7 @@ public Iterable extractResources(ListApiDeploymentsResponse paylo ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> LIST_API_DEPLOYMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment>() { @Override public String emptyToken() { @@ -585,13 +582,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> LIST_API_SPEC_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -611,8 +606,7 @@ public ApiFuture getFuturePagedResponse( ListApiDeploymentsRequest, ListApiDeploymentsResponse, ListApiDeploymentsPagedResponse> LIST_API_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiDeploymentsRequest, - ListApiDeploymentsResponse, + ListApiDeploymentsRequest, ListApiDeploymentsResponse, ListApiDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -629,13 +623,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> LIST_API_DEPLOYMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -645,8 +637,7 @@ public ApiFuture getFuturePagedResponse ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> pageContext = PageContext.create( @@ -781,8 +772,7 @@ public UnaryCallSettings tagApiSpecRevisionS /** Returns the object with the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return listApiSpecRevisionsSettings; @@ -835,8 +825,7 @@ public UnaryCallSettings deleteApiDeploymentS /** Returns the object with the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return listApiDeploymentRevisionsSettings; @@ -1092,8 +1081,7 @@ public static class Builder extends StubSettings.Builder tagApiSpecRevisionSettings; private final PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings; private final UnaryCallSettings.Builder @@ -1114,8 +1102,7 @@ public static class Builder extends StubSettings.Builder tagApiDeploymentRevisionSettings; private final PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings; private final UnaryCallSettings.Builder @@ -1709,8 +1696,7 @@ public UnaryCallSettings.Builder deleteApiSpecSetti /** Returns the builder for the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, - ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return listApiSpecRevisionsSettings; @@ -1766,8 +1752,7 @@ public UnaryCallSettings.Builder rollbackApiSpe /** Returns the builder for the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, - ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return listApiDeploymentRevisionsSettings; diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java diff --git a/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java b/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java similarity index 100% rename from google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java rename to owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java new file mode 100644 index 0000000..ba2124b --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java @@ -0,0 +1,480 @@ +package com.google.cloud.apigeeregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The service that is used for managing the data plane provisioning of the
+ * Registry.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/apigeeregistry/v1/provisioning_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ProvisioningGrpc { + + private ProvisioningGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Provisioning"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { + ProvisioningGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { + ProvisioningGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { + ProvisioningGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ProvisioningStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningStub(channel, callOptions); + } + }; + return ProvisioningStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ProvisioningBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningBlockingStub(channel, callOptions); + } + }; + return ProvisioningBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ProvisioningFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningFutureStub(channel, callOptions); + } + }; + return ProvisioningFutureStub.newStub(factory, channel); + } + + /** + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static abstract class ProvisioningImplBase implements io.grpc.BindableService { + + /** + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public void createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes the Registry instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetInstanceRequest, + com.google.cloud.apigeeregistry.v1.Instance>( + this, METHODID_GET_INSTANCE))) + .build(); + } + } + + /** + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningStub extends io.grpc.stub.AbstractAsyncStub { + private ProvisioningStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningStub(channel, callOptions); + } + + /** + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public void createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the Registry instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ProvisioningBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningBlockingStub(channel, callOptions); + } + + /** + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the Registry instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Instance getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningFutureStub extends io.grpc.stub.AbstractFutureStub { + private ProvisioningFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningFutureStub(channel, callOptions); + } + + /** + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the Registry instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_DELETE_INSTANCE = 1; + private static final int METHODID_GET_INSTANCE = 2; + + 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 ProvisioningImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ProvisioningImplBase 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_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.apigeeregistry.v1.GetInstanceRequest) 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 ProvisioningBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ProvisioningBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Provisioning"); + } + } + + private static final class ProvisioningFileDescriptorSupplier + extends ProvisioningBaseDescriptorSupplier { + ProvisioningFileDescriptorSupplier() {} + } + + private static final class ProvisioningMethodDescriptorSupplier + extends ProvisioningBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ProvisioningMethodDescriptorSupplier(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 (ProvisioningGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ProvisioningFileDescriptorSupplier()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getGetInstanceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java new file mode 100644 index 0000000..c8ce679 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java @@ -0,0 +1,3287 @@ +package com.google.cloud.apigeeregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * The Registry service allows teams to manage descriptions of APIs.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/apigeeregistry/v1/registry_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class RegistryGrpc { + + private RegistryGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Registry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListApisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApis", + requestType = com.google.cloud.apigeeregistry.v1.ListApisRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApisResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApisMethod() { + io.grpc.MethodDescriptor getListApisMethod; + if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { + RegistryGrpc.getListApisMethod = getListApisMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApis")) + .build(); + } + } + } + return getListApisMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApi", + requestType = com.google.cloud.apigeeregistry.v1.GetApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetApiMethod() { + io.grpc.MethodDescriptor getGetApiMethod; + if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { + RegistryGrpc.getGetApiMethod = getGetApiMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApi")) + .build(); + } + } + } + return getGetApiMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApi", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateApiMethod() { + io.grpc.MethodDescriptor getCreateApiMethod; + if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { + RegistryGrpc.getCreateApiMethod = getCreateApiMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApi")) + .build(); + } + } + } + return getCreateApiMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApi", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateApiMethod() { + io.grpc.MethodDescriptor getUpdateApiMethod; + if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { + RegistryGrpc.getUpdateApiMethod = getUpdateApiMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApi")) + .build(); + } + } + } + return getUpdateApiMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApi", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiMethod() { + io.grpc.MethodDescriptor getDeleteApiMethod; + if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { + RegistryGrpc.getDeleteApiMethod = getDeleteApiMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApi")) + .build(); + } + } + } + return getDeleteApiMethod; + } + + private static volatile io.grpc.MethodDescriptor getListApiVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiVersions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApiVersionsMethod() { + io.grpc.MethodDescriptor getListApiVersionsMethod; + if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { + RegistryGrpc.getListApiVersionsMethod = getListApiVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiVersions")) + .build(); + } + } + } + return getListApiVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetApiVersionMethod() { + io.grpc.MethodDescriptor getGetApiVersionMethod; + if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { + RegistryGrpc.getGetApiVersionMethod = getGetApiVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiVersion")) + .build(); + } + } + } + return getGetApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateApiVersionMethod() { + io.grpc.MethodDescriptor getCreateApiVersionMethod; + if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { + RegistryGrpc.getCreateApiVersionMethod = getCreateApiVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiVersion")) + .build(); + } + } + } + return getCreateApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateApiVersionMethod() { + io.grpc.MethodDescriptor getUpdateApiVersionMethod; + if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { + RegistryGrpc.getUpdateApiVersionMethod = getUpdateApiVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiVersion")) + .build(); + } + } + } + return getUpdateApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiVersionMethod() { + io.grpc.MethodDescriptor getDeleteApiVersionMethod; + if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { + RegistryGrpc.getDeleteApiVersionMethod = getDeleteApiVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiVersion")) + .build(); + } + } + } + return getDeleteApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListApiSpecsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiSpecs", + requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApiSpecsMethod() { + io.grpc.MethodDescriptor getListApiSpecsMethod; + if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { + RegistryGrpc.getListApiSpecsMethod = getListApiSpecsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecs")) + .build(); + } + } + } + return getListApiSpecsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetApiSpecMethod() { + io.grpc.MethodDescriptor getGetApiSpecMethod; + if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { + RegistryGrpc.getGetApiSpecMethod = getGetApiSpecMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpec")) + .build(); + } + } + } + return getGetApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetApiSpecContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiSpecContents", + requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, + responseType = com.google.api.HttpBody.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetApiSpecContentsMethod() { + io.grpc.MethodDescriptor getGetApiSpecContentsMethod; + if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { + RegistryGrpc.getGetApiSpecContentsMethod = getGetApiSpecContentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpecContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.HttpBody.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpecContents")) + .build(); + } + } + } + return getGetApiSpecContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateApiSpecMethod() { + io.grpc.MethodDescriptor getCreateApiSpecMethod; + if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { + RegistryGrpc.getCreateApiSpecMethod = getCreateApiSpecMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiSpec")) + .build(); + } + } + } + return getCreateApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateApiSpecMethod() { + io.grpc.MethodDescriptor getUpdateApiSpecMethod; + if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { + RegistryGrpc.getUpdateApiSpecMethod = getUpdateApiSpecMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiSpec")) + .build(); + } + } + } + return getUpdateApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiSpecMethod() { + io.grpc.MethodDescriptor getDeleteApiSpecMethod; + if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { + RegistryGrpc.getDeleteApiSpecMethod = getDeleteApiSpecMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpec")) + .build(); + } + } + } + return getDeleteApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor getTagApiSpecRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TagApiSpecRevision", + requestType = com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTagApiSpecRevisionMethod() { + io.grpc.MethodDescriptor getTagApiSpecRevisionMethod; + if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { + RegistryGrpc.getTagApiSpecRevisionMethod = getTagApiSpecRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiSpecRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("TagApiSpecRevision")) + .build(); + } + } + } + return getTagApiSpecRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListApiSpecRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiSpecRevisions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApiSpecRevisionsMethod() { + io.grpc.MethodDescriptor getListApiSpecRevisionsMethod; + if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { + RegistryGrpc.getListApiSpecRevisionsMethod = getListApiSpecRevisionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecRevisions")) + .build(); + } + } + } + return getListApiSpecRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackApiSpecMethod() { + io.grpc.MethodDescriptor getRollbackApiSpecMethod; + if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { + RegistryGrpc.getRollbackApiSpecMethod = getRollbackApiSpecMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiSpec")) + .build(); + } + } + } + return getRollbackApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpecRevision", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod() { + io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod; + if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { + RegistryGrpc.getDeleteApiSpecRevisionMethod = getDeleteApiSpecRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpecRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpecRevision")) + .build(); + } + } + } + return getDeleteApiSpecRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListApiDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiDeployments", + requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApiDeploymentsMethod() { + io.grpc.MethodDescriptor getListApiDeploymentsMethod; + if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { + RegistryGrpc.getListApiDeploymentsMethod = getListApiDeploymentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiDeployments")) + .build(); + } + } + } + return getListApiDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetApiDeploymentMethod() { + io.grpc.MethodDescriptor getGetApiDeploymentMethod; + if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { + RegistryGrpc.getGetApiDeploymentMethod = getGetApiDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiDeployment")) + .build(); + } + } + } + return getGetApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateApiDeploymentMethod() { + io.grpc.MethodDescriptor getCreateApiDeploymentMethod; + if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { + RegistryGrpc.getCreateApiDeploymentMethod = getCreateApiDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiDeployment")) + .build(); + } + } + } + return getCreateApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateApiDeploymentMethod() { + io.grpc.MethodDescriptor getUpdateApiDeploymentMethod; + if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { + RegistryGrpc.getUpdateApiDeploymentMethod = getUpdateApiDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiDeployment")) + .build(); + } + } + } + return getUpdateApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiDeploymentMethod() { + io.grpc.MethodDescriptor getDeleteApiDeploymentMethod; + if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { + RegistryGrpc.getDeleteApiDeploymentMethod = getDeleteApiDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiDeployment")) + .build(); + } + } + } + return getDeleteApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TagApiDeploymentRevision", + requestType = com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod() { + io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod; + if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) == null) { + RegistryGrpc.getTagApiDeploymentRevisionMethod = getTagApiDeploymentRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiDeploymentRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("TagApiDeploymentRevision")) + .build(); + } + } + } + return getTagApiDeploymentRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiDeploymentRevisions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod() { + io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod; + if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) == null) { + RegistryGrpc.getListApiDeploymentRevisionsMethod = getListApiDeploymentRevisionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeploymentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiDeploymentRevisions")) + .build(); + } + } + } + return getListApiDeploymentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackApiDeploymentMethod() { + io.grpc.MethodDescriptor getRollbackApiDeploymentMethod; + if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { + RegistryGrpc.getRollbackApiDeploymentMethod = getRollbackApiDeploymentMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiDeployment")) + .build(); + } + } + } + return getRollbackApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeploymentRevision", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod() { + io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod; + if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) == null) { + RegistryGrpc.getDeleteApiDeploymentRevisionMethod = getDeleteApiDeploymentRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiDeploymentRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiDeploymentRevision")) + .build(); + } + } + } + return getDeleteApiDeploymentRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListArtifacts", + requestType = com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListArtifactsMethod() { + io.grpc.MethodDescriptor getListArtifactsMethod; + if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { + RegistryGrpc.getListArtifactsMethod = getListArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListArtifacts")) + .build(); + } + } + } + return getListArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetArtifact", + requestType = com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetArtifactMethod() { + io.grpc.MethodDescriptor getGetArtifactMethod; + if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { + RegistryGrpc.getGetArtifactMethod = getGetArtifactMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifact")) + .build(); + } + } + } + return getGetArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetArtifactContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetArtifactContents", + requestType = com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, + responseType = com.google.api.HttpBody.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetArtifactContentsMethod() { + io.grpc.MethodDescriptor getGetArtifactContentsMethod; + if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { + RegistryGrpc.getGetArtifactContentsMethod = getGetArtifactContentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifactContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.HttpBody.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifactContents")) + .build(); + } + } + } + return getGetArtifactContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateArtifact", + requestType = com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateArtifactMethod() { + io.grpc.MethodDescriptor getCreateArtifactMethod; + if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { + RegistryGrpc.getCreateArtifactMethod = getCreateArtifactMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateArtifact")) + .build(); + } + } + } + return getCreateArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor getReplaceArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReplaceArtifact", + requestType = com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReplaceArtifactMethod() { + io.grpc.MethodDescriptor getReplaceArtifactMethod; + if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { + RegistryGrpc.getReplaceArtifactMethod = getReplaceArtifactMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ReplaceArtifact")) + .build(); + } + } + } + return getReplaceArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteArtifact", + requestType = com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteArtifactMethod() { + io.grpc.MethodDescriptor getDeleteArtifactMethod; + if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { + RegistryGrpc.getDeleteArtifactMethod = getDeleteArtifactMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteArtifact")) + .build(); + } + } + } + return getDeleteArtifactMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static RegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryStub(channel, callOptions); + } + }; + return RegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static RegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryBlockingStub(channel, callOptions); + } + }; + return RegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static RegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryFutureStub(channel, callOptions); + } + }; + return RegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static abstract class RegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Returns matching APIs.
+     * 
+ */ + public void listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApisMethod(), responseObserver); + } + + /** + *
+     * Returns a specified API.
+     * 
+ */ + public void getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiMethod(), responseObserver); + } + + /** + *
+     * Creates a specified API.
+     * 
+ */ + public void createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiMethod(), responseObserver); + } + + /** + *
+     * Used to modify a specified API.
+     * 
+ */ + public void updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiMethod(), responseObserver); + } + + /** + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public void deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiMethod(), responseObserver); + } + + /** + *
+     * Returns matching versions.
+     * 
+ */ + public void listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiVersionsMethod(), responseObserver); + } + + /** + *
+     * Returns a specified version.
+     * 
+ */ + public void getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiVersionMethod(), responseObserver); + } + + /** + *
+     * Creates a specified version.
+     * 
+ */ + public void createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiVersionMethod(), responseObserver); + } + + /** + *
+     * Used to modify a specified version.
+     * 
+ */ + public void updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiVersionMethod(), responseObserver); + } + + /** + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public void deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiVersionMethod(), responseObserver); + } + + /** + *
+     * Returns matching specs.
+     * 
+ */ + public void listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiSpecsMethod(), responseObserver); + } + + /** + *
+     * Returns a specified spec.
+     * 
+ */ + public void getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecContentsMethod(), responseObserver); + } + + /** + *
+     * Creates a specified spec.
+     * 
+ */ + public void createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiSpecMethod(), responseObserver); + } + + /** + *
+     * Used to modify a specified spec.
+     * 
+ */ + public void updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiSpecMethod(), responseObserver); + } + + /** + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiSpecMethod(), responseObserver); + } + + /** + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public void tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTagApiSpecRevisionMethod(), responseObserver); + } + + /** + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiSpecRevisionsMethod(), responseObserver); + } + + /** + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackApiSpecMethod(), responseObserver); + } + + /** + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public void deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiSpecRevisionMethod(), responseObserver); + } + + /** + *
+     * Returns matching deployments.
+     * 
+ */ + public void listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiDeploymentsMethod(), responseObserver); + } + + /** + *
+     * Returns a specified deployment.
+     * 
+ */ + public void getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiDeploymentMethod(), responseObserver); + } + + /** + *
+     * Creates a specified deployment.
+     * 
+ */ + public void createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiDeploymentMethod(), responseObserver); + } + + /** + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public void updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiDeploymentMethod(), responseObserver); + } + + /** + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiDeploymentMethod(), responseObserver); + } + + /** + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public void tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTagApiDeploymentRevisionMethod(), responseObserver); + } + + /** + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiDeploymentRevisionsMethod(), responseObserver); + } + + /** + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackApiDeploymentMethod(), responseObserver); + } + + /** + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public void deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiDeploymentRevisionMethod(), responseObserver); + } + + /** + *
+     * Returns matching artifacts.
+     * 
+ */ + public void listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListArtifactsMethod(), responseObserver); + } + + /** + *
+     * Returns a specified artifact.
+     * 
+ */ + public void getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetArtifactMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetArtifactContentsMethod(), responseObserver); + } + + /** + *
+     * Creates a specified artifact.
+     * 
+ */ + public void createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateArtifactMethod(), responseObserver); + } + + /** + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public void replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceArtifactMethod(), responseObserver); + } + + /** + *
+     * Removes a specified artifact.
+     * 
+ */ + public void deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteArtifactMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListApisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApisRequest, + com.google.cloud.apigeeregistry.v1.ListApisResponse>( + this, METHODID_LIST_APIS))) + .addMethod( + getGetApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiRequest, + com.google.cloud.apigeeregistry.v1.Api>( + this, METHODID_GET_API))) + .addMethod( + getCreateApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiRequest, + com.google.cloud.apigeeregistry.v1.Api>( + this, METHODID_CREATE_API))) + .addMethod( + getUpdateApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiRequest, + com.google.cloud.apigeeregistry.v1.Api>( + this, METHODID_UPDATE_API))) + .addMethod( + getDeleteApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_API))) + .addMethod( + getListApiVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>( + this, METHODID_LIST_API_VERSIONS))) + .addMethod( + getGetApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_GET_API_VERSION))) + .addMethod( + getCreateApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_CREATE_API_VERSION))) + .addMethod( + getUpdateApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_UPDATE_API_VERSION))) + .addMethod( + getDeleteApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_API_VERSION))) + .addMethod( + getListApiSpecsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse>( + this, METHODID_LIST_API_SPECS))) + .addMethod( + getGetApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_GET_API_SPEC))) + .addMethod( + getGetApiSpecContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, + com.google.api.HttpBody>( + this, METHODID_GET_API_SPEC_CONTENTS))) + .addMethod( + getCreateApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_CREATE_API_SPEC))) + .addMethod( + getUpdateApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_UPDATE_API_SPEC))) + .addMethod( + getDeleteApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_API_SPEC))) + .addMethod( + getTagApiSpecRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_TAG_API_SPEC_REVISION))) + .addMethod( + getListApiSpecRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>( + this, METHODID_LIST_API_SPEC_REVISIONS))) + .addMethod( + getRollbackApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_ROLLBACK_API_SPEC))) + .addMethod( + getDeleteApiSpecRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_DELETE_API_SPEC_REVISION))) + .addMethod( + getListApiDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>( + this, METHODID_LIST_API_DEPLOYMENTS))) + .addMethod( + getGetApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_GET_API_DEPLOYMENT))) + .addMethod( + getCreateApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_CREATE_API_DEPLOYMENT))) + .addMethod( + getUpdateApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_UPDATE_API_DEPLOYMENT))) + .addMethod( + getDeleteApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_API_DEPLOYMENT))) + .addMethod( + getTagApiDeploymentRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_TAG_API_DEPLOYMENT_REVISION))) + .addMethod( + getListApiDeploymentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>( + this, METHODID_LIST_API_DEPLOYMENT_REVISIONS))) + .addMethod( + getRollbackApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_ROLLBACK_API_DEPLOYMENT))) + .addMethod( + getDeleteApiDeploymentRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_DELETE_API_DEPLOYMENT_REVISION))) + .addMethod( + getListArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>( + this, METHODID_LIST_ARTIFACTS))) + .addMethod( + getGetArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>( + this, METHODID_GET_ARTIFACT))) + .addMethod( + getGetArtifactContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, + com.google.api.HttpBody>( + this, METHODID_GET_ARTIFACT_CONTENTS))) + .addMethod( + getCreateArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>( + this, METHODID_CREATE_ARTIFACT))) + .addMethod( + getReplaceArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>( + this, METHODID_REPLACE_ARTIFACT))) + .addMethod( + getDeleteArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_ARTIFACT))) + .build(); + } + } + + /** + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryStub extends io.grpc.stub.AbstractAsyncStub { + private RegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryStub(channel, callOptions); + } + + /** + *
+     * Returns matching APIs.
+     * 
+ */ + public void listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApisMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a specified API.
+     * 
+ */ + public void getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a specified API.
+     * 
+ */ + public void createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Used to modify a specified API.
+     * 
+ */ + public void updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public void deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns matching versions.
+     * 
+ */ + public void listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a specified version.
+     * 
+ */ + public void getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a specified version.
+     * 
+ */ + public void createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Used to modify a specified version.
+     * 
+ */ + public void updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public void deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns matching specs.
+     * 
+ */ + public void listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a specified spec.
+     * 
+ */ + public void getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a specified spec.
+     * 
+ */ + public void createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Used to modify a specified spec.
+     * 
+ */ + public void updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public void tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public void deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns matching deployments.
+     * 
+ */ + public void listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a specified deployment.
+     * 
+ */ + public void getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a specified deployment.
+     * 
+ */ + public void createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public void updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public void tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public void deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns matching artifacts.
+     * 
+ */ + public void listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a specified artifact.
+     * 
+ */ + public void getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a specified artifact.
+     * 
+ */ + public void createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public void replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Removes a specified artifact.
+     * 
+ */ + public void deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private RegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Returns matching APIs.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApisResponse listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApisMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiMethod(), getCallOptions(), request); + } + + /** + *
+     * Used to modify a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public com.google.protobuf.Empty deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns matching versions.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Used to modify a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public com.google.protobuf.Empty deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns matching specs.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiSpecsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiSpecMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.api.HttpBody getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiSpecContentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiSpecMethod(), getCallOptions(), request); + } + + /** + *
+     * Used to modify a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiSpecMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public com.google.protobuf.Empty deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiSpecMethod(), getCallOptions(), request); + } + + /** + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTagApiSpecRevisionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiSpecRevisionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackApiSpecMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiSpecRevisionMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns matching deployments.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiDeploymentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public com.google.protobuf.Empty deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTagApiDeploymentRevisionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiDeploymentRevisionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackApiDeploymentMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiDeploymentRevisionMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns matching artifacts.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetArtifactMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.api.HttpBody getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetArtifactContentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateArtifactMethod(), getCallOptions(), request); + } + + /** + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReplaceArtifactMethod(), getCallOptions(), request); + } + + /** + *
+     * Removes a specified artifact.
+     * 
+ */ + public com.google.protobuf.Empty deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteArtifactMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private RegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Returns matching APIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApis( + com.google.cloud.apigeeregistry.v1.ListApisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApisMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getApi( + com.google.cloud.apigeeregistry.v1.GetApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createApi( + com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiMethod(), getCallOptions()), request); + } + + /** + *
+     * Used to modify a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateApi( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApi( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns matching versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApiVersions( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getApiVersion( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createApiVersion( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Used to modify a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateApiVersion( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApiVersion( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns matching specs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApiSpecs( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getApiSpec( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getApiSpecContents( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createApiSpec( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request); + } + + /** + *
+     * Used to modify a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateApiSpec( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApiSpec( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request); + } + + /** + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture tagApiSpecRevision( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApiSpecRevisions( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollbackApiSpec( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApiSpecRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns matching deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApiDeployments( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getApiDeployment( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createApiDeployment( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateApiDeployment( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApiDeployment( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture tagApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listApiDeploymentRevisions( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollbackApiDeployment( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns matching artifacts.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listArtifacts( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getArtifact( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getArtifactContents( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createArtifact( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request); + } + + /** + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture replaceArtifact( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request); + } + + /** + *
+     * Removes a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteArtifact( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_APIS = 0; + private static final int METHODID_GET_API = 1; + private static final int METHODID_CREATE_API = 2; + private static final int METHODID_UPDATE_API = 3; + private static final int METHODID_DELETE_API = 4; + private static final int METHODID_LIST_API_VERSIONS = 5; + private static final int METHODID_GET_API_VERSION = 6; + private static final int METHODID_CREATE_API_VERSION = 7; + private static final int METHODID_UPDATE_API_VERSION = 8; + private static final int METHODID_DELETE_API_VERSION = 9; + private static final int METHODID_LIST_API_SPECS = 10; + private static final int METHODID_GET_API_SPEC = 11; + private static final int METHODID_GET_API_SPEC_CONTENTS = 12; + private static final int METHODID_CREATE_API_SPEC = 13; + private static final int METHODID_UPDATE_API_SPEC = 14; + private static final int METHODID_DELETE_API_SPEC = 15; + private static final int METHODID_TAG_API_SPEC_REVISION = 16; + private static final int METHODID_LIST_API_SPEC_REVISIONS = 17; + private static final int METHODID_ROLLBACK_API_SPEC = 18; + private static final int METHODID_DELETE_API_SPEC_REVISION = 19; + private static final int METHODID_LIST_API_DEPLOYMENTS = 20; + private static final int METHODID_GET_API_DEPLOYMENT = 21; + private static final int METHODID_CREATE_API_DEPLOYMENT = 22; + private static final int METHODID_UPDATE_API_DEPLOYMENT = 23; + private static final int METHODID_DELETE_API_DEPLOYMENT = 24; + private static final int METHODID_TAG_API_DEPLOYMENT_REVISION = 25; + private static final int METHODID_LIST_API_DEPLOYMENT_REVISIONS = 26; + private static final int METHODID_ROLLBACK_API_DEPLOYMENT = 27; + private static final int METHODID_DELETE_API_DEPLOYMENT_REVISION = 28; + private static final int METHODID_LIST_ARTIFACTS = 29; + private static final int METHODID_GET_ARTIFACT = 30; + private static final int METHODID_GET_ARTIFACT_CONTENTS = 31; + private static final int METHODID_CREATE_ARTIFACT = 32; + private static final int METHODID_REPLACE_ARTIFACT = 33; + private static final int METHODID_DELETE_ARTIFACT = 34; + + 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 RegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(RegistryImplBase 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_APIS: + serviceImpl.listApis((com.google.cloud.apigeeregistry.v1.ListApisRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_API: + serviceImpl.getApi((com.google.cloud.apigeeregistry.v1.GetApiRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_API: + serviceImpl.createApi((com.google.cloud.apigeeregistry.v1.CreateApiRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_API: + serviceImpl.updateApi((com.google.cloud.apigeeregistry.v1.UpdateApiRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API: + serviceImpl.deleteApi((com.google.cloud.apigeeregistry.v1.DeleteApiRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_VERSIONS: + serviceImpl.listApiVersions((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_API_VERSION: + serviceImpl.getApiVersion((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_API_VERSION: + serviceImpl.createApiVersion((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_API_VERSION: + serviceImpl.updateApiVersion((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API_VERSION: + serviceImpl.deleteApiVersion((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_SPECS: + serviceImpl.listApiSpecs((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_API_SPEC: + serviceImpl.getApiSpec((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_API_SPEC_CONTENTS: + serviceImpl.getApiSpecContents((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_API_SPEC: + serviceImpl.createApiSpec((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_API_SPEC: + serviceImpl.updateApiSpec((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API_SPEC: + serviceImpl.deleteApiSpec((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TAG_API_SPEC_REVISION: + serviceImpl.tagApiSpecRevision((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_SPEC_REVISIONS: + serviceImpl.listApiSpecRevisions((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_API_SPEC: + serviceImpl.rollbackApiSpec((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API_SPEC_REVISION: + serviceImpl.deleteApiSpecRevision((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_DEPLOYMENTS: + serviceImpl.listApiDeployments((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_API_DEPLOYMENT: + serviceImpl.getApiDeployment((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_API_DEPLOYMENT: + serviceImpl.createApiDeployment((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_API_DEPLOYMENT: + serviceImpl.updateApiDeployment((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API_DEPLOYMENT: + serviceImpl.deleteApiDeployment((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TAG_API_DEPLOYMENT_REVISION: + serviceImpl.tagApiDeploymentRevision((com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_DEPLOYMENT_REVISIONS: + serviceImpl.listApiDeploymentRevisions((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_API_DEPLOYMENT: + serviceImpl.rollbackApiDeployment((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_API_DEPLOYMENT_REVISION: + serviceImpl.deleteApiDeploymentRevision((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ARTIFACTS: + serviceImpl.listArtifacts((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ARTIFACT: + serviceImpl.getArtifact((com.google.cloud.apigeeregistry.v1.GetArtifactRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ARTIFACT_CONTENTS: + serviceImpl.getArtifactContents((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ARTIFACT: + serviceImpl.createArtifact((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REPLACE_ARTIFACT: + serviceImpl.replaceArtifact((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ARTIFACT: + serviceImpl.deleteArtifact((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) 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 RegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + RegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Registry"); + } + } + + private static final class RegistryFileDescriptorSupplier + extends RegistryBaseDescriptorSupplier { + RegistryFileDescriptorSupplier() {} + } + + private static final class RegistryMethodDescriptorSupplier + extends RegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + RegistryMethodDescriptorSupplier(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 (RegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RegistryFileDescriptorSupplier()) + .addMethod(getListApisMethod()) + .addMethod(getGetApiMethod()) + .addMethod(getCreateApiMethod()) + .addMethod(getUpdateApiMethod()) + .addMethod(getDeleteApiMethod()) + .addMethod(getListApiVersionsMethod()) + .addMethod(getGetApiVersionMethod()) + .addMethod(getCreateApiVersionMethod()) + .addMethod(getUpdateApiVersionMethod()) + .addMethod(getDeleteApiVersionMethod()) + .addMethod(getListApiSpecsMethod()) + .addMethod(getGetApiSpecMethod()) + .addMethod(getGetApiSpecContentsMethod()) + .addMethod(getCreateApiSpecMethod()) + .addMethod(getUpdateApiSpecMethod()) + .addMethod(getDeleteApiSpecMethod()) + .addMethod(getTagApiSpecRevisionMethod()) + .addMethod(getListApiSpecRevisionsMethod()) + .addMethod(getRollbackApiSpecMethod()) + .addMethod(getDeleteApiSpecRevisionMethod()) + .addMethod(getListApiDeploymentsMethod()) + .addMethod(getGetApiDeploymentMethod()) + .addMethod(getCreateApiDeploymentMethod()) + .addMethod(getUpdateApiDeploymentMethod()) + .addMethod(getDeleteApiDeploymentMethod()) + .addMethod(getTagApiDeploymentRevisionMethod()) + .addMethod(getListApiDeploymentRevisionsMethod()) + .addMethod(getRollbackApiDeploymentMethod()) + .addMethod(getDeleteApiDeploymentRevisionMethod()) + .addMethod(getListArtifactsMethod()) + .addMethod(getGetArtifactMethod()) + .addMethod(getGetArtifactContentsMethod()) + .addMethod(getCreateArtifactMethod()) + .addMethod(getReplaceArtifactMethod()) + .addMethod(getDeleteArtifactMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java index 2b303fb..d694917 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java @@ -1,43 +1,25 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_models.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
- * An Api is a top-level description of an API.
- * Apis are produced by producers and are commitments to provide services.
+ * A top-level description of an API.
+ * Produced by producers and are commitments to provide services.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Api} */ -public final class Api extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Api extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Api) ApiOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Api.newBuilder() to construct. private Api(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Api() { name_ = ""; displayName_ = ""; @@ -49,15 +31,16 @@ private Api() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Api(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Api( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -77,113 +60,101 @@ private Api( 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; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: - { - 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; + description_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - availability_ = s; - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - - recommendedVersion_ = s; - break; + 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(); - recommendedDeployment_ = s; - break; - } - case 74: - { - 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; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + availability_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + recommendedVersion_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + recommendedDeployment_ = s; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 82: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -191,52 +162,48 @@ private Api( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_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 9: return internalGetLabels(); case 10: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Api.class, - com.google.cloud.apigeeregistry.v1.Api.Builder.class); + com.google.cloud.apigeeregistry.v1.Api.class, com.google.cloud.apigeeregistry.v1.Api.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -245,29 +212,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; } } /** - * - * *
    * Resource name.
    * 
* * 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 { @@ -278,14 +245,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -294,29 +258,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; } } /** - * - * *
    * Human-meaningful name.
    * 
* * 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 { @@ -327,14 +291,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -343,29 +304,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A detailed description.
    * 
* * 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 { @@ -376,15 +337,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -392,15 +349,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -408,14 +361,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -425,15 +375,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -441,15 +387,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -457,14 +399,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -474,16 +413,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int AVAILABILITY_FIELD_NUMBER = 6; private volatile java.lang.Object availability_; /** - * - * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
-   * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+   * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
    * 
* * string availability = 6; - * * @return The availability. */ @java.lang.Override @@ -492,31 +428,31 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** - * - * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
-   * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+   * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
    * 
* * string availability = 6; - * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -527,15 +463,12 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { public static final int RECOMMENDED_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object recommendedVersion_; /** - * - * *
    * The recommended version of the API.
-   * Format: apis/{api}/versions/{version}
+   * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The recommendedVersion. */ @java.lang.Override @@ -544,30 +477,30 @@ public java.lang.String getRecommendedVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedVersion_ = s; return s; } } /** - * - * *
    * The recommended version of the API.
-   * Format: apis/{api}/versions/{version}
+   * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getRecommendedVersionBytes() { + public com.google.protobuf.ByteString + getRecommendedVersionBytes() { java.lang.Object ref = recommendedVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recommendedVersion_ = b; return b; } else { @@ -578,15 +511,12 @@ public com.google.protobuf.ByteString getRecommendedVersionBytes() { public static final int RECOMMENDED_DEPLOYMENT_FIELD_NUMBER = 8; private volatile java.lang.Object recommendedDeployment_; /** - * - * *
    * The recommended deployment of the API.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The recommendedDeployment. */ @java.lang.Override @@ -595,30 +525,30 @@ public java.lang.String getRecommendedDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedDeployment_ = s; return s; } } /** - * - * *
    * The recommended deployment of the API.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { + public com.google.protobuf.ByteString + getRecommendedDeploymentBytes() { java.lang.Object ref = recommendedDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recommendedDeployment_ = b; return b; } else { @@ -627,23 +557,24 @@ public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { } public static final int LABELS_FIELD_NUMBER = 9; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_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.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_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_; } @@ -652,108 +583,106 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ + @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ @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(); } @@ -761,24 +690,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 10; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -787,8 +716,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -798,22 +725,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 10;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -824,12 +751,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -840,17 +766,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -861,11 +786,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -873,7 +799,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -885,7 +810,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -910,10 +836,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recommendedDeployment_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 8, recommendedDeployment_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9);
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 10);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        9);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAnnotations(),
+        AnnotationsDefaultEntryHolder.defaultEntry,
+        10);
     unknownFields.writeTo(output);
   }
 
@@ -933,10 +867,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availability_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, availability_);
@@ -947,25 +883,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recommendedDeployment_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, recommendedDeployment_);
     }
-    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(9, labels__);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry annotations__ =
-          AnnotationsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, annotations__);
+    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(9, labels__);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -975,29 +911,39 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Api)) {
       return super.equals(obj);
     }
     com.google.cloud.apigeeregistry.v1.Api other = (com.google.cloud.apigeeregistry.v1.Api) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!getAvailability().equals(other.getAvailability())) return false;
-    if (!getRecommendedVersion().equals(other.getRecommendedVersion())) return false;
-    if (!getRecommendedDeployment().equals(other.getRecommendedDeployment())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
+    }
+    if (!getAvailability()
+        .equals(other.getAvailability())) return false;
+    if (!getRecommendedVersion()
+        .equals(other.getRecommendedVersion())) return false;
+    if (!getRecommendedDeployment()
+        .equals(other.getRecommendedDeployment())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(
+        other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1042,152 +988,145 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.Api parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Api prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
-   * An Api is a top-level description of an API.
-   * Apis are produced by producers and are commitments to provide services.
+   * A top-level description of an API.
+   * Produced by producers and are commitments to provide services.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Api} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Api) com.google.cloud.apigeeregistry.v1.ApiOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 9: return internalGetLabels(); case 10: return internalGetAnnotations(); 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 9: return internalGetMutableLabels(); case 10: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Api.class, - com.google.cloud.apigeeregistry.v1.Api.Builder.class); + com.google.cloud.apigeeregistry.v1.Api.class, com.google.cloud.apigeeregistry.v1.Api.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.Api.newBuilder() @@ -1195,15 +1134,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(); @@ -1237,9 +1177,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Api_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_descriptor; } @java.lang.Override @@ -1258,8 +1198,7 @@ public com.google.cloud.apigeeregistry.v1.Api build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.Api buildPartial() { - com.google.cloud.apigeeregistry.v1.Api result = - new com.google.cloud.apigeeregistry.v1.Api(this); + com.google.cloud.apigeeregistry.v1.Api result = new com.google.cloud.apigeeregistry.v1.Api(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; @@ -1289,39 +1228,38 @@ public com.google.cloud.apigeeregistry.v1.Api buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.Api) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.Api) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.Api)other); } else { super.mergeFrom(other); return this; @@ -1360,8 +1298,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.Api other) { recommendedDeployment_ = other.recommendedDeployment_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1390,25 +1330,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1417,21 +1354,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * 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 { @@ -1439,61 +1375,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * 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; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1501,20 +1430,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1523,21 +1450,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1545,61 +1471,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; } /** - * - * *
      * Human-meaningful name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1607,20 +1526,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1629,21 +1546,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A detailed description.
      * 
* * 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 { @@ -1651,61 +1567,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A detailed description.
      * 
* * 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; } /** - * - * *
      * A detailed description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1713,58 +1622,39 @@ 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_; /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1780,17 +1670,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1801,21 +1688,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -1827,15 +1710,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1849,64 +1728,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1914,58 +1777,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1981,17 +1825,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2002,21 +1843,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -2028,15 +1865,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2050,64 +1883,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2115,22 +1932,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object availability_ = ""; /** - * - * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
-     * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+     * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
      * 
* * string availability = 6; - * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -2139,23 +1954,22 @@ public java.lang.String getAvailability() { } } /** - * - * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
-     * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+     * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
      * 
* * string availability = 6; - * * @return The bytes for availability. */ - public com.google.protobuf.ByteString getAvailabilityBytes() { + public com.google.protobuf.ByteString + getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); availability_ = b; return b; } else { @@ -2163,67 +1977,60 @@ public com.google.protobuf.ByteString getAvailabilityBytes() { } } /** - * - * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
-     * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+     * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
      * 
* * string availability = 6; - * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability(java.lang.String value) { + public Builder setAvailability( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availability_ = value; onChanged(); return this; } /** - * - * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
-     * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+     * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
      * 
* * string availability = 6; - * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = getDefaultInstance().getAvailability(); onChanged(); return this; } /** - * - * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
-     * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+     * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
      * 
* * string availability = 6; - * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { + public Builder setAvailabilityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availability_ = value; onChanged(); return this; @@ -2231,21 +2038,19 @@ public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { private java.lang.Object recommendedVersion_ = ""; /** - * - * *
      * The recommended version of the API.
-     * Format: apis/{api}/versions/{version}
+     * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The recommendedVersion. */ public java.lang.String getRecommendedVersion() { java.lang.Object ref = recommendedVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedVersion_ = s; return s; @@ -2254,22 +2059,21 @@ public java.lang.String getRecommendedVersion() { } } /** - * - * *
      * The recommended version of the API.
-     * Format: apis/{api}/versions/{version}
+     * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedVersion. */ - public com.google.protobuf.ByteString getRecommendedVersionBytes() { + public com.google.protobuf.ByteString + getRecommendedVersionBytes() { java.lang.Object ref = recommendedVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recommendedVersion_ = b; return b; } else { @@ -2277,64 +2081,57 @@ public com.google.protobuf.ByteString getRecommendedVersionBytes() { } } /** - * - * *
      * The recommended version of the API.
-     * Format: apis/{api}/versions/{version}
+     * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @param value The recommendedVersion to set. * @return This builder for chaining. */ - public Builder setRecommendedVersion(java.lang.String value) { + public Builder setRecommendedVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recommendedVersion_ = value; onChanged(); return this; } /** - * - * *
      * The recommended version of the API.
-     * Format: apis/{api}/versions/{version}
+     * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearRecommendedVersion() { - + recommendedVersion_ = getDefaultInstance().getRecommendedVersion(); onChanged(); return this; } /** - * - * *
      * The recommended version of the API.
-     * Format: apis/{api}/versions/{version}
+     * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for recommendedVersion to set. * @return This builder for chaining. */ - public Builder setRecommendedVersionBytes(com.google.protobuf.ByteString value) { + public Builder setRecommendedVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recommendedVersion_ = value; onChanged(); return this; @@ -2342,21 +2139,19 @@ public Builder setRecommendedVersionBytes(com.google.protobuf.ByteString value) private java.lang.Object recommendedDeployment_ = ""; /** - * - * *
      * The recommended deployment of the API.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The recommendedDeployment. */ public java.lang.String getRecommendedDeployment() { java.lang.Object ref = recommendedDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedDeployment_ = s; return s; @@ -2365,22 +2160,21 @@ public java.lang.String getRecommendedDeployment() { } } /** - * - * *
      * The recommended deployment of the API.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedDeployment. */ - public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { + public com.google.protobuf.ByteString + getRecommendedDeploymentBytes() { java.lang.Object ref = recommendedDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recommendedDeployment_ = b; return b; } else { @@ -2388,84 +2182,78 @@ public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { } } /** - * - * *
      * The recommended deployment of the API.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @param value The recommendedDeployment to set. * @return This builder for chaining. */ - public Builder setRecommendedDeployment(java.lang.String value) { + public Builder setRecommendedDeployment( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recommendedDeployment_ = value; onChanged(); return this; } /** - * - * *
      * The recommended deployment of the API.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearRecommendedDeployment() { - + recommendedDeployment_ = getDefaultInstance().getRecommendedDeployment(); onChanged(); return this; } /** - * - * *
      * The recommended deployment of the API.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for recommendedDeployment to set. * @return This builder for chaining. */ - public Builder setRecommendedDeploymentBytes(com.google.protobuf.ByteString value) { + public Builder setRecommendedDeploymentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recommendedDeployment_ = 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(); @@ -2477,109 +2265,106 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ + @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ @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(); } @@ -2587,109 +2372,110 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
      * Label keys and values can be no longer than 64 characters
      * (Unicode codepoints), can only contain lowercase letters, numeric
-     * characters, underscores and dashes. International characters are allowed.
+     * characters, underscores, and dashes. International characters are allowed.
      * No more than 64 user labels can be associated with one resource (System
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 9; */ - 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.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -2701,8 +2487,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2712,22 +2496,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 10;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2738,12 +2522,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2754,17 +2537,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2775,11 +2557,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2787,12 +2570,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2802,21 +2584,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 10;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2826,20 +2610,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 10;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2849,13 +2632,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 10;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2865,12 +2651,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Api)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Api)
   private static final com.google.cloud.apigeeregistry.v1.Api DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Api();
   }
@@ -2879,16 +2665,16 @@ public static com.google.cloud.apigeeregistry.v1.Api getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Api parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Api(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Api parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Api(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2903,4 +2689,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.Api getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
similarity index 67%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
index 7b0c58f..6996e3f 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
@@ -1,28 +1,11 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
- *
- *
  * 
- * An ApiDeployment describes a service running at particular address that
+ * Describes a service running at particular address that
  * provides a particular version of an API. ApiDeployments have revisions which
  * correspond to different configurations of a single deployment in time.
  * Revision identifiers should be updated whenever the served API spec or
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiDeployment}
  */
-public final class ApiDeployment extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ApiDeployment extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiDeployment)
     ApiDeploymentOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ApiDeployment.newBuilder() to construct.
   private ApiDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ApiDeployment() {
     name_ = "";
     displayName_ = "";
@@ -55,15 +37,16 @@ private ApiDeployment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ApiDeployment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ApiDeployment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -83,149 +66,132 @@ private ApiDeployment(
           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;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            displayName_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            description_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              revisionId_ = s;
-              break;
+            revisionId_ = 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 (revisionCreateTime_ != null) {
-                subBuilder = revisionCreateTime_.toBuilder();
-              }
-              revisionCreateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionCreateTime_);
-                revisionCreateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionCreateTime_ != null) {
+              subBuilder = revisionCreateTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (revisionUpdateTime_ != null) {
-                subBuilder = revisionUpdateTime_.toBuilder();
-              }
-              revisionUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionUpdateTime_);
-                revisionUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionCreateTime_);
+              revisionCreateTime_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              apiSpecRevision_ = s;
-              break;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionUpdateTime_ != null) {
+              subBuilder = revisionUpdateTime_.toBuilder();
             }
-          case 74:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              endpointUri_ = s;
-              break;
+            revisionUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionUpdateTime_);
+              revisionUpdateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              externalChannelUri_ = s;
-              break;
-            }
-          case 90:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              intendedAudience_ = s;
-              break;
-            }
-          case 98:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            apiSpecRevision_ = s;
+            break;
+          }
+          case 74: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              accessGuidance_ = s;
-              break;
-            }
-          case 114:
-            {
-              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;
+            endpointUri_ = s;
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            externalChannelUri_ = s;
+            break;
+          }
+          case 90: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            intendedAudience_ = s;
+            break;
+          }
+          case 98: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            accessGuidance_ = s;
+            break;
+          }
+          case 114: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 122:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 122: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -233,52 +199,48 @@ private ApiDeployment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-        .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 14:
         return internalGetLabels();
       case 15:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-        .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.ApiDeployment.class,
-            com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
+            com.google.cloud.apigeeregistry.v1.ApiDeployment.class, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -287,29 +249,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; } } /** - * - * *
    * Resource name.
    * 
* * 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 { @@ -320,14 +282,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -336,29 +295,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; } } /** - * - * *
    * Human-meaningful name.
    * 
* * 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 { @@ -369,14 +328,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -385,29 +341,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A detailed description.
    * 
* * 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 { @@ -418,18 +374,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int REVISION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object revisionId_; /** - * - * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ @java.lang.Override @@ -438,33 +389,31 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -475,15 +424,11 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -491,15 +436,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -507,14 +448,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -524,16 +462,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp revisionCreateTime_; /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -541,34 +474,23 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -578,16 +500,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int REVISION_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionUpdateTime_; /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ @java.lang.Override @@ -595,34 +512,23 @@ public boolean hasRevisionUpdateTime() { return revisionUpdateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionUpdateTime() { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { @@ -632,16 +538,13 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { public static final int API_SPEC_REVISION_FIELD_NUMBER = 8; private volatile java.lang.Object apiSpecRevision_; /** - * - * *
-   * The full resource name (including revision id) of the spec of the API being
+   * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The apiSpecRevision. */ @java.lang.Override @@ -650,31 +553,31 @@ public java.lang.String getApiSpecRevision() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecRevision_ = s; return s; } } /** - * - * *
-   * The full resource name (including revision id) of the spec of the API being
+   * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for apiSpecRevision. */ @java.lang.Override - public com.google.protobuf.ByteString getApiSpecRevisionBytes() { + public com.google.protobuf.ByteString + getApiSpecRevisionBytes() { java.lang.Object ref = apiSpecRevision_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiSpecRevision_ = b; return b; } else { @@ -685,15 +588,12 @@ public com.google.protobuf.ByteString getApiSpecRevisionBytes() { public static final int ENDPOINT_URI_FIELD_NUMBER = 9; private volatile java.lang.Object endpointUri_; /** - * - * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; - * * @return The endpointUri. */ @java.lang.Override @@ -702,30 +602,30 @@ public java.lang.String getEndpointUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointUri_ = s; return s; } } /** - * - * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; - * * @return The bytes for endpointUri. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointUriBytes() { + public com.google.protobuf.ByteString + getEndpointUriBytes() { java.lang.Object ref = endpointUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpointUri_ = b; return b; } else { @@ -736,15 +636,12 @@ public com.google.protobuf.ByteString getEndpointUriBytes() { public static final int EXTERNAL_CHANNEL_URI_FIELD_NUMBER = 10; private volatile java.lang.Object externalChannelUri_; /** - * - * *
-   * The address of the external channel of the API (e.g. the Developer
+   * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; - * * @return The externalChannelUri. */ @java.lang.Override @@ -753,30 +650,30 @@ public java.lang.String getExternalChannelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalChannelUri_ = s; return s; } } /** - * - * *
-   * The address of the external channel of the API (e.g. the Developer
+   * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; - * * @return The bytes for externalChannelUri. */ @java.lang.Override - public com.google.protobuf.ByteString getExternalChannelUriBytes() { + public com.google.protobuf.ByteString + getExternalChannelUriBytes() { java.lang.Object ref = externalChannelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalChannelUri_ = b; return b; } else { @@ -787,15 +684,12 @@ public com.google.protobuf.ByteString getExternalChannelUriBytes() { public static final int INTENDED_AUDIENCE_FIELD_NUMBER = 11; private volatile java.lang.Object intendedAudience_; /** - * - * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; - * * @return The intendedAudience. */ @java.lang.Override @@ -804,30 +698,30 @@ public java.lang.String getIntendedAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intendedAudience_ = s; return s; } } /** - * - * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; - * * @return The bytes for intendedAudience. */ @java.lang.Override - public com.google.protobuf.ByteString getIntendedAudienceBytes() { + public com.google.protobuf.ByteString + getIntendedAudienceBytes() { java.lang.Object ref = intendedAudience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); intendedAudience_ = b; return b; } else { @@ -838,15 +732,12 @@ public com.google.protobuf.ByteString getIntendedAudienceBytes() { public static final int ACCESS_GUIDANCE_FIELD_NUMBER = 12; private volatile java.lang.Object accessGuidance_; /** - * - * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; - * * @return The accessGuidance. */ @java.lang.Override @@ -855,30 +746,30 @@ public java.lang.String getAccessGuidance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessGuidance_ = s; return s; } } /** - * - * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; - * * @return The bytes for accessGuidance. */ @java.lang.Override - public com.google.protobuf.ByteString getAccessGuidanceBytes() { + public com.google.protobuf.ByteString + getAccessGuidanceBytes() { java.lang.Object ref = accessGuidance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessGuidance_ = b; return b; } else { @@ -887,23 +778,24 @@ public com.google.protobuf.ByteString getAccessGuidanceBytes() { } public static final int LABELS_FIELD_NUMBER = 14; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_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.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_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_; } @@ -912,8 +804,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -924,27 +814,27 @@ public int getLabelsCount() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ + @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -955,18 +845,17 @@ public java.util.Map getLabels() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -977,22 +866,22 @@ public java.util.Map getLabelsMap() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -1003,17 +892,18 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @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(); } @@ -1021,24 +911,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 15; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -1047,8 +937,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1058,22 +946,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 15;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1084,12 +972,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1100,17 +987,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1121,11 +1007,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1133,7 +1020,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1145,7 +1031,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1182,10 +1069,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessGuidance_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 12, accessGuidance_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14);
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 15);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        14);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAnnotations(),
+        AnnotationsDefaultEntryHolder.defaultEntry,
+        15);
     unknownFields.writeTo(output);
   }
 
@@ -1208,13 +1103,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (revisionCreateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getRevisionCreateTime());
     }
     if (revisionUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getRevisionUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiSpecRevision_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, apiSpecRevision_);
@@ -1231,25 +1129,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessGuidance_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, accessGuidance_);
     }
-    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(14, labels__);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry annotations__ =
-          AnnotationsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, annotations__);
+    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(14, labels__);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(15, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1259,37 +1157,50 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ApiDeployment)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiDeployment other =
-        (com.google.cloud.apigeeregistry.v1.ApiDeployment) obj;
+    com.google.cloud.apigeeregistry.v1.ApiDeployment other = (com.google.cloud.apigeeregistry.v1.ApiDeployment) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (!getRevisionId().equals(other.getRevisionId())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (!getRevisionId()
+        .equals(other.getRevisionId())) 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 (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false;
     if (hasRevisionCreateTime()) {
-      if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false;
+      if (!getRevisionCreateTime()
+          .equals(other.getRevisionCreateTime())) return false;
     }
     if (hasRevisionUpdateTime() != other.hasRevisionUpdateTime()) return false;
     if (hasRevisionUpdateTime()) {
-      if (!getRevisionUpdateTime().equals(other.getRevisionUpdateTime())) return false;
-    }
-    if (!getApiSpecRevision().equals(other.getApiSpecRevision())) return false;
-    if (!getEndpointUri().equals(other.getEndpointUri())) return false;
-    if (!getExternalChannelUri().equals(other.getExternalChannelUri())) return false;
-    if (!getIntendedAudience().equals(other.getIntendedAudience())) return false;
-    if (!getAccessGuidance().equals(other.getAccessGuidance())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
+      if (!getRevisionUpdateTime()
+          .equals(other.getRevisionUpdateTime())) return false;
+    }
+    if (!getApiSpecRevision()
+        .equals(other.getApiSpecRevision())) return false;
+    if (!getEndpointUri()
+        .equals(other.getEndpointUri())) return false;
+    if (!getExternalChannelUri()
+        .equals(other.getExternalChannelUri())) return false;
+    if (!getIntendedAudience()
+        .equals(other.getIntendedAudience())) return false;
+    if (!getAccessGuidance()
+        .equals(other.getAccessGuidance())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(
+        other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1344,106 +1255,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
-   * An ApiDeployment describes a service running at particular address that
+   * Describes a service running at particular address that
    * provides a particular version of an API. ApiDeployments have revisions which
    * correspond to different configurations of a single deployment in time.
    * Revision identifiers should be updated whenever the served API spec or
@@ -1452,47 +1356,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiDeployment}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiDeployment)
       com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 14:
           return internalGetLabels();
         case 15:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 14:
           return internalGetMutableLabels();
         case 15:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.ApiDeployment.class,
-              com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
+              com.google.cloud.apigeeregistry.v1.ApiDeployment.class, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder()
@@ -1500,15 +1404,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();
@@ -1554,9 +1459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
     }
 
     @java.lang.Override
@@ -1575,8 +1480,7 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.ApiDeployment buildPartial() {
-      com.google.cloud.apigeeregistry.v1.ApiDeployment result =
-          new com.google.cloud.apigeeregistry.v1.ApiDeployment(this);
+      com.google.cloud.apigeeregistry.v1.ApiDeployment result = new com.google.cloud.apigeeregistry.v1.ApiDeployment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1614,39 +1518,38 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.ApiDeployment) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiDeployment) other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiDeployment)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1654,8 +1557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiDeployment other) {
-      if (other == com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1701,8 +1603,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiDeployment other)
         accessGuidance_ = other.accessGuidance_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1731,25 +1635,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name.
      * 
* * 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; @@ -1758,21 +1659,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * 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 { @@ -1780,61 +1680,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * 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; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1842,20 +1735,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1864,21 +1755,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1886,61 +1776,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; } /** - * - * *
      * Human-meaningful name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1948,20 +1831,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1970,21 +1851,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A detailed description.
      * 
* * 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 { @@ -1992,61 +1872,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A detailed description.
      * 
* * 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; } /** - * - * *
      * A detailed description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -2054,24 +1927,20 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -2080,25 +1949,22 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -2106,73 +1972,60 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -2180,58 +2033,39 @@ public Builder setRevisionIdBytes(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_; /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2247,17 +2081,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2268,21 +2099,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -2294,15 +2121,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2316,64 +2139,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2381,58 +2188,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -2448,17 +2236,14 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -2469,23 +2254,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -2497,15 +2276,11 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -2519,64 +2294,48 @@ public Builder clearRevisionCreateTime() { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), getParentForChildren(), isClean()); + revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), + getParentForChildren(), + isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -2584,58 +2343,39 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionUpdateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ public boolean hasRevisionUpdateTime() { return revisionUpdateTimeBuilder_ != null || revisionUpdateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ public com.google.protobuf.Timestamp getRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } else { return revisionUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { @@ -2651,17 +2391,14 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionUpdateTimeBuilder_ == null) { revisionUpdateTime_ = builderForValue.build(); onChanged(); @@ -2672,23 +2409,17 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { if (revisionUpdateTime_ != null) { revisionUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_).mergeFrom(value).buildPartial(); } else { revisionUpdateTime_ = value; } @@ -2700,15 +2431,11 @@ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { @@ -2722,64 +2449,48 @@ public Builder clearRevisionUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionUpdateTimeBuilder() { - + onChanged(); return getRevisionUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { if (revisionUpdateTimeBuilder_ != null) { return revisionUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionUpdateTimeFieldBuilder() { if (revisionUpdateTimeBuilder_ == null) { - revisionUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionUpdateTime(), getParentForChildren(), isClean()); + revisionUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionUpdateTime(), + getParentForChildren(), + isClean()); revisionUpdateTime_ = null; } return revisionUpdateTimeBuilder_; @@ -2787,22 +2498,20 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { private java.lang.Object apiSpecRevision_ = ""; /** - * - * *
-     * The full resource name (including revision id) of the spec of the API being
+     * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The apiSpecRevision. */ public java.lang.String getApiSpecRevision() { java.lang.Object ref = apiSpecRevision_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecRevision_ = s; return s; @@ -2811,23 +2520,22 @@ public java.lang.String getApiSpecRevision() { } } /** - * - * *
-     * The full resource name (including revision id) of the spec of the API being
+     * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for apiSpecRevision. */ - public com.google.protobuf.ByteString getApiSpecRevisionBytes() { + public com.google.protobuf.ByteString + getApiSpecRevisionBytes() { java.lang.Object ref = apiSpecRevision_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiSpecRevision_ = b; return b; } else { @@ -2835,67 +2543,60 @@ public com.google.protobuf.ByteString getApiSpecRevisionBytes() { } } /** - * - * *
-     * The full resource name (including revision id) of the spec of the API being
+     * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @param value The apiSpecRevision to set. * @return This builder for chaining. */ - public Builder setApiSpecRevision(java.lang.String value) { + public Builder setApiSpecRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiSpecRevision_ = value; onChanged(); return this; } /** - * - * *
-     * The full resource name (including revision id) of the spec of the API being
+     * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearApiSpecRevision() { - + apiSpecRevision_ = getDefaultInstance().getApiSpecRevision(); onChanged(); return this; } /** - * - * *
-     * The full resource name (including revision id) of the spec of the API being
+     * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
-     * Format: apis/{api}/deployments/{deployment}
+     * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for apiSpecRevision to set. * @return This builder for chaining. */ - public Builder setApiSpecRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setApiSpecRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiSpecRevision_ = value; onChanged(); return this; @@ -2903,21 +2604,19 @@ public Builder setApiSpecRevisionBytes(com.google.protobuf.ByteString value) { private java.lang.Object endpointUri_ = ""; /** - * - * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; - * * @return The endpointUri. */ public java.lang.String getEndpointUri() { java.lang.Object ref = endpointUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointUri_ = s; return s; @@ -2926,22 +2625,21 @@ public java.lang.String getEndpointUri() { } } /** - * - * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; - * * @return The bytes for endpointUri. */ - public com.google.protobuf.ByteString getEndpointUriBytes() { + public com.google.protobuf.ByteString + getEndpointUriBytes() { java.lang.Object ref = endpointUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpointUri_ = b; return b; } else { @@ -2949,64 +2647,57 @@ public com.google.protobuf.ByteString getEndpointUriBytes() { } } /** - * - * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; - * * @param value The endpointUri to set. * @return This builder for chaining. */ - public Builder setEndpointUri(java.lang.String value) { + public Builder setEndpointUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpointUri_ = value; onChanged(); return this; } /** - * - * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; - * * @return This builder for chaining. */ public Builder clearEndpointUri() { - + endpointUri_ = getDefaultInstance().getEndpointUri(); onChanged(); return this; } /** - * - * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; - * * @param value The bytes for endpointUri to set. * @return This builder for chaining. */ - public Builder setEndpointUriBytes(com.google.protobuf.ByteString value) { + public Builder setEndpointUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointUri_ = value; onChanged(); return this; @@ -3014,21 +2705,19 @@ public Builder setEndpointUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object externalChannelUri_ = ""; /** - * - * *
-     * The address of the external channel of the API (e.g. the Developer
+     * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; - * * @return The externalChannelUri. */ public java.lang.String getExternalChannelUri() { java.lang.Object ref = externalChannelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalChannelUri_ = s; return s; @@ -3037,22 +2726,21 @@ public java.lang.String getExternalChannelUri() { } } /** - * - * *
-     * The address of the external channel of the API (e.g. the Developer
+     * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; - * * @return The bytes for externalChannelUri. */ - public com.google.protobuf.ByteString getExternalChannelUriBytes() { + public com.google.protobuf.ByteString + getExternalChannelUriBytes() { java.lang.Object ref = externalChannelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); externalChannelUri_ = b; return b; } else { @@ -3060,64 +2748,57 @@ public com.google.protobuf.ByteString getExternalChannelUriBytes() { } } /** - * - * *
-     * The address of the external channel of the API (e.g. the Developer
+     * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; - * * @param value The externalChannelUri to set. * @return This builder for chaining. */ - public Builder setExternalChannelUri(java.lang.String value) { + public Builder setExternalChannelUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalChannelUri_ = value; onChanged(); return this; } /** - * - * *
-     * The address of the external channel of the API (e.g. the Developer
+     * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; - * * @return This builder for chaining. */ public Builder clearExternalChannelUri() { - + externalChannelUri_ = getDefaultInstance().getExternalChannelUri(); onChanged(); return this; } /** - * - * *
-     * The address of the external channel of the API (e.g. the Developer
+     * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; - * * @param value The bytes for externalChannelUri to set. * @return This builder for chaining. */ - public Builder setExternalChannelUriBytes(com.google.protobuf.ByteString value) { + public Builder setExternalChannelUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalChannelUri_ = value; onChanged(); return this; @@ -3125,21 +2806,19 @@ public Builder setExternalChannelUriBytes(com.google.protobuf.ByteString value) private java.lang.Object intendedAudience_ = ""; /** - * - * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; - * * @return The intendedAudience. */ public java.lang.String getIntendedAudience() { java.lang.Object ref = intendedAudience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intendedAudience_ = s; return s; @@ -3148,22 +2827,21 @@ public java.lang.String getIntendedAudience() { } } /** - * - * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; - * * @return The bytes for intendedAudience. */ - public com.google.protobuf.ByteString getIntendedAudienceBytes() { + public com.google.protobuf.ByteString + getIntendedAudienceBytes() { java.lang.Object ref = intendedAudience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); intendedAudience_ = b; return b; } else { @@ -3171,64 +2849,57 @@ public com.google.protobuf.ByteString getIntendedAudienceBytes() { } } /** - * - * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; - * * @param value The intendedAudience to set. * @return This builder for chaining. */ - public Builder setIntendedAudience(java.lang.String value) { + public Builder setIntendedAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intendedAudience_ = value; onChanged(); return this; } /** - * - * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; - * * @return This builder for chaining. */ public Builder clearIntendedAudience() { - + intendedAudience_ = getDefaultInstance().getIntendedAudience(); onChanged(); return this; } /** - * - * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; - * * @param value The bytes for intendedAudience to set. * @return This builder for chaining. */ - public Builder setIntendedAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setIntendedAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intendedAudience_ = value; onChanged(); return this; @@ -3236,21 +2907,19 @@ public Builder setIntendedAudienceBytes(com.google.protobuf.ByteString value) { private java.lang.Object accessGuidance_ = ""; /** - * - * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; - * * @return The accessGuidance. */ public java.lang.String getAccessGuidance() { java.lang.Object ref = accessGuidance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessGuidance_ = s; return s; @@ -3259,22 +2928,21 @@ public java.lang.String getAccessGuidance() { } } /** - * - * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; - * * @return The bytes for accessGuidance. */ - public com.google.protobuf.ByteString getAccessGuidanceBytes() { + public com.google.protobuf.ByteString + getAccessGuidanceBytes() { java.lang.Object ref = accessGuidance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); accessGuidance_ = b; return b; } else { @@ -3282,84 +2950,78 @@ public com.google.protobuf.ByteString getAccessGuidanceBytes() { } } /** - * - * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; - * * @param value The accessGuidance to set. * @return This builder for chaining. */ - public Builder setAccessGuidance(java.lang.String value) { + public Builder setAccessGuidance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessGuidance_ = value; onChanged(); return this; } /** - * - * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; - * * @return This builder for chaining. */ public Builder clearAccessGuidance() { - + accessGuidance_ = getDefaultInstance().getAccessGuidance(); onChanged(); return this; } /** - * - * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; - * * @param value The bytes for accessGuidance to set. * @return This builder for chaining. */ - public Builder setAccessGuidanceBytes(com.google.protobuf.ByteString value) { + public Builder setAccessGuidanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessGuidance_ = 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(); @@ -3371,8 +3033,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3383,27 +3043,27 @@ public int getLabelsCount() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ + @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3414,18 +3074,17 @@ public java.util.Map getLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3436,23 +3095,22 @@ public java.util.Map getLabelsMap() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3463,17 +3121,18 @@ public java.lang.String getLabelsOrDefault(
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @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(); } @@ -3481,12 +3140,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3497,26 +3155,28 @@ public Builder clearLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3527,25 +3187,24 @@ public java.util.Map getMutableLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3556,34 +3215,35 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3595,8 +3255,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3606,22 +3264,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 15;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3632,12 +3290,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3648,17 +3305,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3669,11 +3325,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3681,12 +3338,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3696,21 +3352,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 15;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3720,20 +3378,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3743,13 +3400,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3759,12 +3419,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiDeployment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiDeployment)
   private static final com.google.cloud.apigeeregistry.v1.ApiDeployment DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiDeployment();
   }
@@ -3773,16 +3433,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiDeployment getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ApiDeployment parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ApiDeployment(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ApiDeployment parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ApiDeployment(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3797,4 +3457,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiDeployment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
similarity index 100%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
similarity index 73%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
index 760f2d9..85d5012 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
@@ -1,396 +1,290 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiDeploymentOrBuilder
-    extends
+public interface ApiDeploymentOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiDeployment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ boolean hasRevisionUpdateTime(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ com.google.protobuf.Timestamp getRevisionUpdateTime(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder(); /** - * - * *
-   * The full resource name (including revision id) of the spec of the API being
+   * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The apiSpecRevision. */ java.lang.String getApiSpecRevision(); /** - * - * *
-   * The full resource name (including revision id) of the spec of the API being
+   * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for apiSpecRevision. */ - com.google.protobuf.ByteString getApiSpecRevisionBytes(); + com.google.protobuf.ByteString + getApiSpecRevisionBytes(); /** - * - * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; - * * @return The endpointUri. */ java.lang.String getEndpointUri(); /** - * - * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; - * * @return The bytes for endpointUri. */ - com.google.protobuf.ByteString getEndpointUriBytes(); + com.google.protobuf.ByteString + getEndpointUriBytes(); /** - * - * *
-   * The address of the external channel of the API (e.g. the Developer
+   * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; - * * @return The externalChannelUri. */ java.lang.String getExternalChannelUri(); /** - * - * *
-   * The address of the external channel of the API (e.g. the Developer
+   * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; - * * @return The bytes for externalChannelUri. */ - com.google.protobuf.ByteString getExternalChannelUriBytes(); + com.google.protobuf.ByteString + getExternalChannelUriBytes(); /** - * - * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; - * * @return The intendedAudience. */ java.lang.String getIntendedAudience(); /** - * - * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; - * * @return The bytes for intendedAudience. */ - com.google.protobuf.ByteString getIntendedAudienceBytes(); + com.google.protobuf.ByteString + getIntendedAudienceBytes(); /** - * - * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; - * * @return The accessGuidance. */ java.lang.String getAccessGuidance(); /** - * - * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; - * * @return The bytes for accessGuidance. */ - com.google.protobuf.ByteString getAccessGuidanceBytes(); + com.google.protobuf.ByteString + getAccessGuidanceBytes(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -401,15 +295,13 @@ public interface ApiDeploymentOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ int getLabelsCount(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -420,18 +312,20 @@ public interface ApiDeploymentOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -442,15 +336,14 @@ public interface ApiDeploymentOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -461,20 +354,18 @@ public interface ApiDeploymentOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -485,16 +376,16 @@ java.lang.String getLabelsOrDefault(
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -506,8 +397,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -517,13 +406,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -533,10 +424,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -548,13 +438,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -564,5 +452,7 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
similarity index 100%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
similarity index 72%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
index 34159f2..45d4f17 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
@@ -1,369 +1,296 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiOrBuilder
-    extends
+public interface ApiOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Api)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
-   * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+   * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
    * 
* * string availability = 6; - * * @return The availability. */ java.lang.String getAvailability(); /** - * - * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
-   * e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
+   * e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN".
    * 
* * string availability = 6; - * * @return The bytes for availability. */ - com.google.protobuf.ByteString getAvailabilityBytes(); + com.google.protobuf.ByteString + getAvailabilityBytes(); /** - * - * *
    * The recommended version of the API.
-   * Format: apis/{api}/versions/{version}
+   * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The recommendedVersion. */ java.lang.String getRecommendedVersion(); /** - * - * *
    * The recommended version of the API.
-   * Format: apis/{api}/versions/{version}
+   * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedVersion. */ - com.google.protobuf.ByteString getRecommendedVersionBytes(); + com.google.protobuf.ByteString + getRecommendedVersionBytes(); /** - * - * *
    * The recommended deployment of the API.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The recommendedDeployment. */ java.lang.String getRecommendedDeployment(); /** - * - * *
    * The recommended deployment of the API.
-   * Format: apis/{api}/deployments/{deployment}
+   * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } - * * @return The bytes for recommendedDeployment. */ - com.google.protobuf.ByteString getRecommendedDeploymentBytes(); + com.google.protobuf.ByteString + getRecommendedDeploymentBytes(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ int getLabelsCount(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ - 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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
    * Label keys and values can be no longer than 64 characters
    * (Unicode codepoints), can only contain lowercase letters, numeric
-   * characters, underscores and dashes. International characters are allowed.
+   * characters, underscores, and dashes. International characters are allowed.
    * No more than 64 user labels can be associated with one resource (System
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -375,8 +302,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -386,13 +311,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 10;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -402,10 +329,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 10;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -417,13 +343,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -433,5 +357,7 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 10;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
similarity index 68%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
index 31a9c92..83c7588 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
@@ -1,32 +1,15 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
- *
- *
  * 
- * An ApiSpec describes a version of an API in a structured way.
+ * Describes a version of an API in a structured way.
  * ApiSpecs provide formal descriptions that consumers can use to use a version.
  * ApiSpec resources are intended to be fully-resolved descriptions of an
  * ApiVersion. When specs consist of multiple files, these should be bundled
- * together (e.g. in a zip archive) and stored as a unit. Multiple specs can
+ * together (e.g., in a zip archive) and stored as a unit. Multiple specs can
  * exist to provide representations in different API description formats.
  * Synchronization of these representations would be provided by tooling and
  * background services.
@@ -34,16 +17,15 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiSpec}
  */
-public final class ApiSpec extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ApiSpec extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiSpec)
     ApiSpecOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ApiSpec.newBuilder() to construct.
   private ApiSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ApiSpec() {
     name_ = "";
     filename_ = "";
@@ -57,15 +39,16 @@ private ApiSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ApiSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ApiSpec(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85,145 +68,130 @@ private ApiSpec(
           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();
 
-              filename_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            filename_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            description_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              revisionId_ = s;
-              break;
+            revisionId_ = 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 (revisionCreateTime_ != null) {
-                subBuilder = revisionCreateTime_.toBuilder();
-              }
-              revisionCreateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionCreateTime_);
-                revisionCreateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionCreateTime_ != null) {
+              subBuilder = revisionCreateTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (revisionUpdateTime_ != null) {
-                subBuilder = revisionUpdateTime_.toBuilder();
-              }
-              revisionUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(revisionUpdateTime_);
-                revisionUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionCreateTime_);
+              revisionCreateTime_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              mimeType_ = s;
-              break;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (revisionUpdateTime_ != null) {
+              subBuilder = revisionUpdateTime_.toBuilder();
             }
-          case 72:
-            {
-              sizeBytes_ = input.readInt32();
-              break;
+            revisionUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(revisionUpdateTime_);
+              revisionUpdateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              hash_ = s;
-              break;
-            }
-          case 90:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              sourceUri_ = s;
-              break;
-            }
-          case 98:
-            {
-              contents_ = input.readBytes();
-              break;
-            }
-          case 114:
-            {
-              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;
+            mimeType_ = s;
+            break;
+          }
+          case 72: {
+
+            sizeBytes_ = input.readInt32();
+            break;
+          }
+          case 82: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            hash_ = s;
+            break;
+          }
+          case 90: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            sourceUri_ = s;
+            break;
+          }
+          case 98: {
+
+            contents_ = input.readBytes();
+            break;
+          }
+          case 114: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 122:
-            {
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                annotations_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AnnotationsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000002;
-              }
-              com.google.protobuf.MapEntry annotations__ =
-                  input.readMessage(
-                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 122: {
+            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+              annotations_ = com.google.protobuf.MapField.newMapField(
+                  AnnotationsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000002;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            annotations__ = input.readMessage(
+                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            annotations_.getMutableMap().put(
+                annotations__.getKey(), annotations__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -231,52 +199,48 @@ private ApiSpec(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-        .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 14:
         return internalGetLabels();
       case 15:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-        .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.ApiSpec.class,
-            com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
+            com.google.cloud.apigeeregistry.v1.ApiSpec.class, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -285,29 +249,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; } } /** - * - * *
    * Resource name.
    * 
* * 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 { @@ -318,14 +282,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FILENAME_FIELD_NUMBER = 2; private volatile java.lang.Object filename_; /** - * - * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; - * * @return The filename. */ @java.lang.Override @@ -334,29 +295,29 @@ public java.lang.String getFilename() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; } } /** - * - * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; - * * @return The bytes for filename. */ @java.lang.Override - public com.google.protobuf.ByteString getFilenameBytes() { + public com.google.protobuf.ByteString + getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filename_ = b; return b; } else { @@ -367,14 +328,11 @@ public com.google.protobuf.ByteString getFilenameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -383,29 +341,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A detailed description.
    * 
* * 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 { @@ -416,18 +374,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int REVISION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object revisionId_; /** - * - * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ @java.lang.Override @@ -436,33 +389,31 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -473,15 +424,11 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -489,15 +436,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -505,14 +448,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -522,16 +462,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp revisionCreateTime_; /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -539,34 +474,23 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -576,16 +500,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int REVISION_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionUpdateTime_; /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ @java.lang.Override @@ -593,34 +512,23 @@ public boolean hasRevisionUpdateTime() { return revisionUpdateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionUpdateTime() { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { @@ -630,13 +538,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { public static final int MIME_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object mimeType_; /** - * - * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-   * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-   * "application/vnd.apigee.graphql", with possible suffixes representing
+   * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+   * `application/vnd.apigee.graphql`, with possible suffixes representing
    * compression types. These hypothetical names are defined in the vendor tree
    * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
    * Content types can specify compression. Currently only GZip compression is
@@ -644,7 +550,6 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
    * 
* * string mime_type = 8; - * * @return The mimeType. */ @java.lang.Override @@ -653,20 +558,19 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** - * - * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-   * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-   * "application/vnd.apigee.graphql", with possible suffixes representing
+   * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+   * `application/vnd.apigee.graphql`, with possible suffixes representing
    * compression types. These hypothetical names are defined in the vendor tree
    * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
    * Content types can specify compression. Currently only GZip compression is
@@ -674,15 +578,16 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 8; - * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -693,15 +598,12 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 9; private int sizeBytes_; /** - * - * *
    * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
    * size of the uncompressed spec.
    * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -712,15 +614,12 @@ public int getSizeBytes() { public static final int HASH_FIELD_NUMBER = 10; private volatile java.lang.Object hash_; /** - * - * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ @java.lang.Override @@ -729,30 +628,30 @@ public java.lang.String getHash() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } } /** - * - * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ @java.lang.Override - public com.google.protobuf.ByteString getHashBytes() { + public com.google.protobuf.ByteString + getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hash_ = b; return b; } else { @@ -763,8 +662,6 @@ public com.google.protobuf.ByteString getHashBytes() { public static final int SOURCE_URI_FIELD_NUMBER = 11; private volatile java.lang.Object sourceUri_; /** - * - * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -773,7 +670,6 @@ public com.google.protobuf.ByteString getHashBytes() {
    * 
* * string source_uri = 11; - * * @return The sourceUri. */ @java.lang.Override @@ -782,15 +678,14 @@ public java.lang.String getSourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceUri_ = s; return s; } } /** - * - * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -799,15 +694,16 @@ public java.lang.String getSourceUri() {
    * 
* * string source_uri = 11; - * * @return The bytes for sourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceUriBytes() { + public com.google.protobuf.ByteString + getSourceUriBytes() { java.lang.Object ref = sourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceUri_ = b; return b; } else { @@ -818,8 +714,6 @@ public com.google.protobuf.ByteString getSourceUriBytes() { public static final int CONTENTS_FIELD_NUMBER = 12; private com.google.protobuf.ByteString contents_; /** - * - * *
    * Input only. The contents of the spec.
    * Provided by API callers when specs are created or updated.
@@ -827,7 +721,6 @@ public com.google.protobuf.ByteString getSourceUriBytes() {
    * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ @java.lang.Override @@ -836,23 +729,24 @@ public com.google.protobuf.ByteString getContents() { } public static final int LABELS_FIELD_NUMBER = 14; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_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.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_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_; } @@ -861,8 +755,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -873,27 +765,27 @@ public int getLabelsCount() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ + @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -904,18 +796,17 @@ public java.util.Map getLabels() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -926,22 +817,22 @@ public java.util.Map getLabelsMap() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -952,17 +843,18 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ @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(); } @@ -970,24 +862,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 15; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -996,8 +888,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1007,22 +897,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 15;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1033,12 +923,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1049,17 +938,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1070,11 +958,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1082,7 +971,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1094,7 +982,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1131,10 +1020,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!contents_.isEmpty()) {
       output.writeBytes(12, contents_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14);
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 15);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        14);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAnnotations(),
+        AnnotationsDefaultEntryHolder.defaultEntry,
+        15);
     unknownFields.writeTo(output);
   }
 
@@ -1157,19 +1054,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (revisionCreateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getRevisionCreateTime());
     }
     if (revisionUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getRevisionUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mimeType_);
     }
     if (sizeBytes_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, sizeBytes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(9, sizeBytes_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, hash_);
@@ -1178,27 +1079,28 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, sourceUri_);
     }
     if (!contents_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(12, contents_);
-    }
-    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(14, labels__);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry annotations__ =
-          AnnotationsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, annotations__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(12, contents_);
+    }
+    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(14, labels__);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(15, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1208,37 +1110,50 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ApiSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiSpec other =
-        (com.google.cloud.apigeeregistry.v1.ApiSpec) obj;
+    com.google.cloud.apigeeregistry.v1.ApiSpec other = (com.google.cloud.apigeeregistry.v1.ApiSpec) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getFilename().equals(other.getFilename())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (!getRevisionId().equals(other.getRevisionId())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getFilename()
+        .equals(other.getFilename())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (!getRevisionId()
+        .equals(other.getRevisionId())) 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 (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false;
     if (hasRevisionCreateTime()) {
-      if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false;
+      if (!getRevisionCreateTime()
+          .equals(other.getRevisionCreateTime())) return false;
     }
     if (hasRevisionUpdateTime() != other.hasRevisionUpdateTime()) return false;
     if (hasRevisionUpdateTime()) {
-      if (!getRevisionUpdateTime().equals(other.getRevisionUpdateTime())) return false;
-    }
-    if (!getMimeType().equals(other.getMimeType())) return false;
-    if (getSizeBytes() != other.getSizeBytes()) return false;
-    if (!getHash().equals(other.getHash())) return false;
-    if (!getSourceUri().equals(other.getSourceUri())) return false;
-    if (!getContents().equals(other.getContents())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
+      if (!getRevisionUpdateTime()
+          .equals(other.getRevisionUpdateTime())) return false;
+    }
+    if (!getMimeType()
+        .equals(other.getMimeType())) return false;
+    if (getSizeBytes()
+        != other.getSizeBytes()) return false;
+    if (!getHash()
+        .equals(other.getHash())) return false;
+    if (!getSourceUri()
+        .equals(other.getSourceUri())) return false;
+    if (!getContents()
+        .equals(other.getContents())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(
+        other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1293,110 +1208,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
-   * An ApiSpec describes a version of an API in a structured way.
+   * Describes a version of an API in a structured way.
    * ApiSpecs provide formal descriptions that consumers can use to use a version.
    * ApiSpec resources are intended to be fully-resolved descriptions of an
    * ApiVersion. When specs consist of multiple files, these should be bundled
-   * together (e.g. in a zip archive) and stored as a unit. Multiple specs can
+   * together (e.g., in a zip archive) and stored as a unit. Multiple specs can
    * exist to provide representations in different API description formats.
    * Synchronization of these representations would be provided by tooling and
    * background services.
@@ -1404,47 +1312,47 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiSpec}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiSpec)
       com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 14:
           return internalGetLabels();
         case 15:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 14:
           return internalGetMutableLabels();
         case 15:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.ApiSpec.class,
-              com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
+              com.google.cloud.apigeeregistry.v1.ApiSpec.class, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder()
@@ -1452,15 +1360,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();
@@ -1506,9 +1415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
-          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1527,8 +1436,7 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.ApiSpec buildPartial() {
-      com.google.cloud.apigeeregistry.v1.ApiSpec result =
-          new com.google.cloud.apigeeregistry.v1.ApiSpec(this);
+      com.google.cloud.apigeeregistry.v1.ApiSpec result = new com.google.cloud.apigeeregistry.v1.ApiSpec(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.filename_ = filename_;
@@ -1566,39 +1474,38 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.ApiSpec) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiSpec) other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiSpec)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1650,8 +1557,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiSpec other) {
       if (other.getContents() != com.google.protobuf.ByteString.EMPTY) {
         setContents(other.getContents());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1680,25 +1589,22 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Resource name.
      * 
* * 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; @@ -1707,21 +1613,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * 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 { @@ -1729,61 +1634,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * 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; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1791,20 +1689,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object filename_ = ""; /** - * - * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; - * * @return The filename. */ public java.lang.String getFilename() { java.lang.Object ref = filename_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; @@ -1813,21 +1709,20 @@ public java.lang.String getFilename() { } } /** - * - * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; - * * @return The bytes for filename. */ - public com.google.protobuf.ByteString getFilenameBytes() { + public com.google.protobuf.ByteString + getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filename_ = b; return b; } else { @@ -1835,61 +1730,54 @@ public com.google.protobuf.ByteString getFilenameBytes() { } } /** - * - * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; - * * @param value The filename to set. * @return This builder for chaining. */ - public Builder setFilename(java.lang.String value) { + public Builder setFilename( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filename_ = value; onChanged(); return this; } /** - * - * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; - * * @return This builder for chaining. */ public Builder clearFilename() { - + filename_ = getDefaultInstance().getFilename(); onChanged(); return this; } /** - * - * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; - * * @param value The bytes for filename to set. * @return This builder for chaining. */ - public Builder setFilenameBytes(com.google.protobuf.ByteString value) { + public Builder setFilenameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filename_ = value; onChanged(); return this; @@ -1897,20 +1785,18 @@ public Builder setFilenameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1919,21 +1805,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A detailed description.
      * 
* * 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 { @@ -1941,61 +1826,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A detailed description.
      * 
* * 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; } /** - * - * *
      * A detailed description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -2003,24 +1881,20 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -2029,25 +1903,22 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -2055,73 +1926,60 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -2129,58 +1987,39 @@ public Builder setRevisionIdBytes(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_; /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2196,17 +2035,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2217,21 +2053,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -2243,15 +2075,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2265,64 +2093,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -2330,58 +2142,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -2397,17 +2190,14 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -2418,23 +2208,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); } else { revisionCreateTime_ = value; } @@ -2446,15 +2230,11 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -2468,64 +2248,48 @@ public Builder clearRevisionCreateTime() { return this; } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionCreateTime_; + return revisionCreateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; } } /** - * - * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), getParentForChildren(), isClean()); + revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), + getParentForChildren(), + isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -2533,58 +2297,39 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - revisionUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionUpdateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ public boolean hasRevisionUpdateTime() { return revisionUpdateTimeBuilder_ != null || revisionUpdateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ public com.google.protobuf.Timestamp getRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } else { return revisionUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { @@ -2600,17 +2345,14 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionUpdateTimeBuilder_ == null) { revisionUpdateTime_ = builderForValue.build(); onChanged(); @@ -2621,23 +2363,17 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { if (revisionUpdateTime_ != null) { revisionUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_).mergeFrom(value).buildPartial(); } else { revisionUpdateTime_ = value; } @@ -2649,15 +2385,11 @@ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { @@ -2671,64 +2403,48 @@ public Builder clearRevisionUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getRevisionUpdateTimeBuilder() { - + onChanged(); return getRevisionUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { if (revisionUpdateTimeBuilder_ != null) { return revisionUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : revisionUpdateTime_; + return revisionUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; } } /** - * - * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRevisionUpdateTimeFieldBuilder() { if (revisionUpdateTimeBuilder_ == null) { - revisionUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRevisionUpdateTime(), getParentForChildren(), isClean()); + revisionUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRevisionUpdateTime(), + getParentForChildren(), + isClean()); revisionUpdateTime_ = null; } return revisionUpdateTimeBuilder_; @@ -2736,13 +2452,11 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { private java.lang.Object mimeType_ = ""; /** - * - * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-     * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-     * "application/vnd.apigee.graphql", with possible suffixes representing
+     * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+     * `application/vnd.apigee.graphql`, with possible suffixes representing
      * compression types. These hypothetical names are defined in the vendor tree
      * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
      * Content types can specify compression. Currently only GZip compression is
@@ -2750,13 +2464,13 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
      * 
* * string mime_type = 8; - * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -2765,13 +2479,11 @@ public java.lang.String getMimeType() { } } /** - * - * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-     * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-     * "application/vnd.apigee.graphql", with possible suffixes representing
+     * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+     * `application/vnd.apigee.graphql`, with possible suffixes representing
      * compression types. These hypothetical names are defined in the vendor tree
      * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
      * Content types can specify compression. Currently only GZip compression is
@@ -2779,14 +2491,15 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 8; - * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -2794,13 +2507,11 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { } } /** - * - * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-     * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-     * "application/vnd.apigee.graphql", with possible suffixes representing
+     * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+     * `application/vnd.apigee.graphql`, with possible suffixes representing
      * compression types. These hypothetical names are defined in the vendor tree
      * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
      * Content types can specify compression. Currently only GZip compression is
@@ -2808,27 +2519,25 @@ public com.google.protobuf.ByteString getMimeTypeBytes() {
      * 
* * string mime_type = 8; - * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType(java.lang.String value) { + public Builder setMimeType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** - * - * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-     * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-     * "application/vnd.apigee.graphql", with possible suffixes representing
+     * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+     * `application/vnd.apigee.graphql`, with possible suffixes representing
      * compression types. These hypothetical names are defined in the vendor tree
      * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
      * Content types can specify compression. Currently only GZip compression is
@@ -2836,23 +2545,20 @@ public Builder setMimeType(java.lang.String value) {
      * 
* * string mime_type = 8; - * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** - * - * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-     * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-     * "application/vnd.apigee.graphql", with possible suffixes representing
+     * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+     * `application/vnd.apigee.graphql`, with possible suffixes representing
      * compression types. These hypothetical names are defined in the vendor tree
      * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
      * Content types can specify compression. Currently only GZip compression is
@@ -2860,32 +2566,29 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 8; - * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } - private int sizeBytes_; + private int sizeBytes_ ; /** - * - * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2893,38 +2596,32 @@ public int getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(int value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0; onChanged(); return this; @@ -2932,21 +2629,19 @@ public Builder clearSizeBytes() { private java.lang.Object hash_ = ""; /** - * - * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; @@ -2955,22 +2650,21 @@ public java.lang.String getHash() { } } /** - * - * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ - public com.google.protobuf.ByteString getHashBytes() { + public com.google.protobuf.ByteString + getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hash_ = b; return b; } else { @@ -2978,64 +2672,57 @@ public com.google.protobuf.ByteString getHashBytes() { } } /** - * - * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The hash to set. * @return This builder for chaining. */ - public Builder setHash(java.lang.String value) { + public Builder setHash( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hash_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearHash() { - + hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** - * - * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for hash to set. * @return This builder for chaining. */ - public Builder setHashBytes(com.google.protobuf.ByteString value) { + public Builder setHashBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hash_ = value; onChanged(); return this; @@ -3043,8 +2730,6 @@ public Builder setHashBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceUri_ = ""; /** - * - * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -3053,13 +2738,13 @@ public Builder setHashBytes(com.google.protobuf.ByteString value) {
      * 
* * string source_uri = 11; - * * @return The sourceUri. */ public java.lang.String getSourceUri() { java.lang.Object ref = sourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceUri_ = s; return s; @@ -3068,8 +2753,6 @@ public java.lang.String getSourceUri() { } } /** - * - * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -3078,14 +2761,15 @@ public java.lang.String getSourceUri() {
      * 
* * string source_uri = 11; - * * @return The bytes for sourceUri. */ - public com.google.protobuf.ByteString getSourceUriBytes() { + public com.google.protobuf.ByteString + getSourceUriBytes() { java.lang.Object ref = sourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceUri_ = b; return b; } else { @@ -3093,8 +2777,6 @@ public com.google.protobuf.ByteString getSourceUriBytes() { } } /** - * - * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -3103,22 +2785,20 @@ public com.google.protobuf.ByteString getSourceUriBytes() {
      * 
* * string source_uri = 11; - * * @param value The sourceUri to set. * @return This builder for chaining. */ - public Builder setSourceUri(java.lang.String value) { + public Builder setSourceUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceUri_ = value; onChanged(); return this; } /** - * - * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -3127,18 +2807,15 @@ public Builder setSourceUri(java.lang.String value) {
      * 
* * string source_uri = 11; - * * @return This builder for chaining. */ public Builder clearSourceUri() { - + sourceUri_ = getDefaultInstance().getSourceUri(); onChanged(); return this; } /** - * - * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -3147,16 +2824,16 @@ public Builder clearSourceUri() {
      * 
* * string source_uri = 11; - * * @param value The bytes for sourceUri to set. * @return This builder for chaining. */ - public Builder setSourceUriBytes(com.google.protobuf.ByteString value) { + public Builder setSourceUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceUri_ = value; onChanged(); return this; @@ -3164,8 +2841,6 @@ public Builder setSourceUriBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -3173,7 +2848,6 @@ public Builder setSourceUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ @java.lang.Override @@ -3181,8 +2855,6 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** - * - * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -3190,22 +2862,19 @@ public com.google.protobuf.ByteString getContents() {
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** - * - * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -3213,31 +2882,31 @@ public Builder setContents(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); 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(); @@ -3249,8 +2918,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3261,27 +2928,27 @@ public int getLabelsCount() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ + @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3292,18 +2959,17 @@ public java.util.Map getLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3314,23 +2980,22 @@ public java.util.Map getLabelsMap() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3341,17 +3006,18 @@ public java.lang.String getLabelsOrDefault(
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ @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(); } @@ -3359,12 +3025,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3375,26 +3040,28 @@ public Builder clearLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3405,25 +3072,24 @@ public java.util.Map getMutableLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3434,34 +3100,35 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 14; */ - 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.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -3473,8 +3140,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3484,22 +3149,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 15;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3510,12 +3175,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3526,17 +3190,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3547,11 +3210,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3559,12 +3223,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3574,21 +3237,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 15;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3598,20 +3263,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3621,13 +3285,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3637,12 +3304,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiSpec)
   private static final com.google.cloud.apigeeregistry.v1.ApiSpec DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiSpec();
   }
@@ -3651,16 +3318,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiSpec getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ApiSpec parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ApiSpec(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ApiSpec parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ApiSpec(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3675,4 +3342,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
similarity index 100%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
similarity index 75%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
index 0febe45..64b0d73 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
@@ -1,264 +1,183 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiSpecOrBuilder
-    extends
+public interface ApiSpecOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; - * * @return The filename. */ java.lang.String getFilename(); /** - * - * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; - * * @return The bytes for filename. */ - com.google.protobuf.ByteString getFilenameBytes(); + com.google.protobuf.ByteString + getFilenameBytes(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** - * - * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the revisionUpdateTime field is set. */ boolean hasRevisionUpdateTime(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The revisionUpdateTime. */ com.google.protobuf.Timestamp getRevisionUpdateTime(); /** - * - * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder(); /** - * - * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-   * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-   * "application/vnd.apigee.graphql", with possible suffixes representing
+   * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+   * `application/vnd.apigee.graphql`, with possible suffixes representing
    * compression types. These hypothetical names are defined in the vendor tree
    * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
    * Content types can specify compression. Currently only GZip compression is
@@ -266,18 +185,15 @@ public interface ApiSpecOrBuilder
    * 
* * string mime_type = 8; - * * @return The mimeType. */ java.lang.String getMimeType(); /** - * - * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
-   * "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and
-   * "application/vnd.apigee.graphql", with possible suffixes representing
+   * `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and
+   * `application/vnd.apigee.graphql`, with possible suffixes representing
    * compression types. These hypothetical names are defined in the vendor tree
    * defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final.
    * Content types can specify compression. Currently only GZip compression is
@@ -285,55 +201,45 @@ public interface ApiSpecOrBuilder
    * 
* * string mime_type = 8; - * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString getMimeTypeBytes(); + com.google.protobuf.ByteString + getMimeTypeBytes(); /** - * - * *
    * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
    * size of the uncompressed spec.
    * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ int getSizeBytes(); /** - * - * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ java.lang.String getHash(); /** - * - * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ - com.google.protobuf.ByteString getHashBytes(); + com.google.protobuf.ByteString + getHashBytes(); /** - * - * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -342,13 +248,10 @@ public interface ApiSpecOrBuilder
    * 
* * string source_uri = 11; - * * @return The sourceUri. */ java.lang.String getSourceUri(); /** - * - * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -357,14 +260,12 @@ public interface ApiSpecOrBuilder
    * 
* * string source_uri = 11; - * * @return The bytes for sourceUri. */ - com.google.protobuf.ByteString getSourceUriBytes(); + com.google.protobuf.ByteString + getSourceUriBytes(); /** - * - * *
    * Input only. The contents of the spec.
    * Provided by API callers when specs are created or updated.
@@ -372,14 +273,11 @@ public interface ApiSpecOrBuilder
    * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ com.google.protobuf.ByteString getContents(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -390,15 +288,13 @@ public interface ApiSpecOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ int getLabelsCount(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -409,18 +305,20 @@ public interface ApiSpecOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - 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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -431,15 +329,14 @@ public interface ApiSpecOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -450,20 +347,18 @@ public interface ApiSpecOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -474,16 +369,16 @@ java.lang.String getLabelsOrDefault(
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 14; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -495,8 +390,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -506,13 +399,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -522,10 +417,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -537,13 +431,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -553,5 +445,7 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
similarity index 66%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
index 58e9668..12d64b8 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
@@ -1,43 +1,25 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
- *
- *
  * 
- * An ApiVersion describes a particular version of an API.
+ * Describes a particular version of an API.
  * ApiVersions are what consumers actually use.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiVersion} */ -public final class ApiVersion extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ApiVersion extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiVersion) ApiVersionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ApiVersion.newBuilder() to construct. private ApiVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ApiVersion() { name_ = ""; displayName_ = ""; @@ -47,15 +29,16 @@ private ApiVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ApiVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ApiVersion( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,99 +58,89 @@ private ApiVersion( 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; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + displayName_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 34: - { - 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; + description_ = s; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - state_ = s; - break; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 58: - { - 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; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - annotations_ = - com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue()); - break; + + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + state_ = s; + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + annotations_.getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -175,52 +148,48 @@ private ApiVersion( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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 7: return internalGetLabels(); case 8: return internalGetAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ApiVersion.class, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class); + com.google.cloud.apigeeregistry.v1.ApiVersion.class, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -229,29 +198,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; } } /** - * - * *
    * Resource name.
    * 
* * 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 { @@ -262,14 +231,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -278,29 +244,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; } } /** - * - * *
    * Human-meaningful name.
    * 
* * 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 { @@ -311,14 +277,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -327,29 +290,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A detailed description.
    * 
* * 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 { @@ -360,15 +323,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -376,15 +335,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -392,14 +347,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -409,15 +361,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -425,15 +373,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -441,14 +385,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -458,17 +399,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 6; private volatile java.lang.Object state_; /** - * - * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
-   * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+   * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
    * "DEPRECATED", "RETIRED".
    * 
* * string state = 6; - * * @return The state. */ @java.lang.Override @@ -477,32 +415,32 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
-   * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+   * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
    * "DEPRECATED", "RETIRED".
    * 
* * string state = 6; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -511,23 +449,24 @@ public com.google.protobuf.ByteString getStateBytes() { } public static final int LABELS_FIELD_NUMBER = 7; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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_; } @@ -536,8 +475,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -548,27 +485,27 @@ public int getLabelsCount() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ + @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -579,18 +516,17 @@ public java.util.Map getLabels() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -601,22 +537,22 @@ public java.util.Map getLabelsMap() {
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -627,17 +563,18 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ @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(); } @@ -645,24 +582,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 8; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -671,8 +608,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -682,22 +617,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 8;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -708,12 +643,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -724,17 +658,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -745,11 +678,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -757,7 +691,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -769,7 +702,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -788,10 +722,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 6, state_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 8);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        7);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAnnotations(),
+        AnnotationsDefaultEntryHolder.defaultEntry,
+        8);
     unknownFields.writeTo(output);
   }
 
@@ -811,33 +753,35 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, state_);
     }
-    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(7, labels__);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry annotations__ =
-          AnnotationsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, annotations__);
+    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(7, labels__);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(8, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -847,28 +791,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ApiVersion)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiVersion other =
-        (com.google.cloud.apigeeregistry.v1.ApiVersion) obj;
+    com.google.cloud.apigeeregistry.v1.ApiVersion other = (com.google.cloud.apigeeregistry.v1.ApiVersion) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!getState().equals(other.getState())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
+      if (!getUpdateTime()
+          .equals(other.getUpdateTime())) return false;
+    }
+    if (!getState()
+        .equals(other.getState())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(
+        other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -909,152 +860,145 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiVersion prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
-   * An ApiVersion describes a particular version of an API.
+   * Describes a particular version of an API.
    * ApiVersions are what consumers actually use.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiVersion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiVersion) com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 7: return internalGetLabels(); case 8: return internalGetAnnotations(); 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 7: return internalGetMutableLabels(); case 8: return internalGetMutableAnnotations(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ApiVersion.class, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class); + com.google.cloud.apigeeregistry.v1.ApiVersion.class, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder() @@ -1062,15 +1006,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(); @@ -1100,9 +1045,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor; } @java.lang.Override @@ -1121,8 +1066,7 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersion buildPartial() { - com.google.cloud.apigeeregistry.v1.ApiVersion result = - new com.google.cloud.apigeeregistry.v1.ApiVersion(this); + com.google.cloud.apigeeregistry.v1.ApiVersion result = new com.google.cloud.apigeeregistry.v1.ApiVersion(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.displayName_ = displayName_; @@ -1150,39 +1094,38 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ApiVersion) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiVersion) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiVersion)other); } else { super.mergeFrom(other); return this; @@ -1213,8 +1156,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiVersion other) { state_ = other.state_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1243,25 +1188,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1270,21 +1212,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * 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 { @@ -1292,61 +1233,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * 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; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1354,20 +1288,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1376,21 +1308,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1398,61 +1329,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; } /** - * - * *
      * Human-meaningful name.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * Human-meaningful name.
      * 
* * 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; @@ -1460,20 +1384,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1482,21 +1404,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A detailed description.
      * 
* * 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 { @@ -1504,61 +1425,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A detailed description.
      * 
* * 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; } /** - * - * *
      * A detailed description.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A detailed description.
      * 
* * 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; @@ -1566,58 +1480,39 @@ 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_; /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1633,17 +1528,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1654,21 +1546,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -1680,15 +1568,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1702,64 +1586,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1767,58 +1635,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1834,17 +1683,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1855,21 +1701,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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; } @@ -1881,15 +1723,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1903,64 +1741,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1968,23 +1790,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object state_ = ""; /** - * - * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
-     * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+     * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
      * "DEPRECATED", "RETIRED".
      * 
* * string state = 6; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -1993,24 +1813,23 @@ public java.lang.String getState() { } } /** - * - * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
-     * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+     * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
      * "DEPRECATED", "RETIRED".
      * 
* * string state = 6; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -2018,90 +1837,84 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
-     * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+     * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
      * "DEPRECATED", "RETIRED".
      * 
* * string state = 6; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { + public Builder setState( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** - * - * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
-     * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+     * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
      * "DEPRECATED", "RETIRED".
      * 
* * string state = 6; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** - * - * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
-     * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+     * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
      * "DEPRECATED", "RETIRED".
      * 
* * string state = 6; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { + public Builder setStateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = 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(); @@ -2113,8 +1926,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2125,27 +1936,27 @@ public int getLabelsCount() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ + @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2156,18 +1967,17 @@ public java.util.Map getLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2178,23 +1988,22 @@ public java.util.Map getLabelsMap() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2205,17 +2014,18 @@ public java.lang.String getLabelsOrDefault(
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ @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(); } @@ -2223,12 +2033,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2239,26 +2048,28 @@ public Builder clearLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2269,25 +2080,24 @@ public java.util.Map getMutableLabels() {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ - 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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2298,34 +2108,35 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      * labels are excluded).
      * See https://goo.gl/xmQnxf for more information and examples of labels.
      * System reserved label keys are prefixed with
-     * "apigeeregistry.googleapis.com/" and cannot be changed.
+     * `apigeeregistry.googleapis.com/` and cannot be changed.
      * 
* * map<string, string> labels = 7; */ - 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.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -2337,8 +2148,6 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2348,22 +2157,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 8;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2374,12 +2183,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2390,17 +2198,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2411,11 +2218,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2423,12 +2231,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2438,21 +2245,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 8;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2462,20 +2271,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 8;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2485,13 +2293,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 8;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2501,12 +2312,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiVersion)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiVersion)
   private static final com.google.cloud.apigeeregistry.v1.ApiVersion DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiVersion();
   }
@@ -2515,16 +2326,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiVersion getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ApiVersion parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new ApiVersion(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ApiVersion parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new ApiVersion(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2539,4 +2350,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiVersion getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
similarity index 100%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
similarity index 76%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
index d1f92dd..883e7f0 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
@@ -1,213 +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/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiVersionOrBuilder
-    extends
+public interface ApiVersionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiVersion)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Human-meaningful name.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A detailed description.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
-   * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+   * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
    * "DEPRECATED", "RETIRED".
    * 
* * string state = 6; - * * @return The state. */ java.lang.String getState(); /** - * - * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
-   * e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
+   * e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION",
    * "DEPRECATED", "RETIRED".
    * 
* * string state = 6; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -218,15 +158,13 @@ public interface ApiVersionOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ int getLabelsCount(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -237,18 +175,20 @@ public interface ApiVersionOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ - 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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -259,15 +199,14 @@ public interface ApiVersionOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -278,20 +217,18 @@ public interface ApiVersionOrBuilder
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -302,16 +239,16 @@ java.lang.String getLabelsOrDefault(
    * labels are excluded).
    * See https://goo.gl/xmQnxf for more information and examples of labels.
    * System reserved label keys are prefixed with
-   * "apigeeregistry.googleapis.com/" and cannot be changed.
+   * `apigeeregistry.googleapis.com/` and cannot be changed.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -323,8 +260,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -334,13 +269,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 8;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -350,10 +287,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 8;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -365,13 +301,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -381,5 +315,7 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 8;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
similarity index 71%
rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
index e5aeb65..65564e2 100644
--- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
+++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
@@ -1,49 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
- *
- *
  * 
  * Artifacts of resources. Artifacts are unique (single-value) per resource
  * and are used to store metadata that is too large or numerous to be stored
  * directly on the resource. Since artifacts are stored separately from parent
  * resources, they should generally be used for metadata that is needed
- * infrequently, i.e. not for display in primary views of the resource but
- * perhaps displayed or downloaded upon request. The ListArtifacts method
+ * infrequently, i.e., not for display in primary views of the resource but
+ * perhaps displayed or downloaded upon request. The `ListArtifacts` method
  * allows artifacts to be quickly enumerated and checked for presence without
  * downloading their (potentially-large) contents.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Artifact} */ -public final class Artifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Artifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Artifact) ArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Artifact.newBuilder() to construct. private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Artifact() { name_ = ""; mimeType_ = ""; @@ -53,15 +35,16 @@ private Artifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Artifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Artifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -80,74 +63,67 @@ private Artifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - com.google.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; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 26: - { - 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; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - mimeType_ = s; - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 40: - { - sizeBytes_ = input.readInt32(); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - hash_ = s; - break; - } - case 58: - { - contents_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + mimeType_ = s; + break; + } + case 40: { + + sizeBytes_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + hash_ = s; + break; + } + case 58: { + + contents_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,39 +131,34 @@ private Artifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Artifact.class, - com.google.cloud.apigeeregistry.v1.Artifact.Builder.class); + com.google.cloud.apigeeregistry.v1.Artifact.class, com.google.cloud.apigeeregistry.v1.Artifact.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -196,29 +167,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; } } /** - * - * *
    * Resource name.
    * 
* * 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 { @@ -229,15 +200,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -245,15 +212,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -261,14 +224,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -278,15 +238,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -294,15 +250,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -310,14 +262,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -327,8 +276,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int MIME_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object mimeType_; /** - * - * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -339,7 +286,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string mime_type = 4; - * * @return The mimeType. */ @java.lang.Override @@ -348,15 +294,14 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** - * - * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -367,15 +312,16 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 4; - * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -386,15 +332,12 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; private int sizeBytes_; /** - * - * *
    * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
    * the size of the uncompressed artifact.
    * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -405,15 +348,12 @@ public int getSizeBytes() { public static final int HASH_FIELD_NUMBER = 6; private volatile java.lang.Object hash_; /** - * - * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ @java.lang.Override @@ -422,30 +362,30 @@ public java.lang.String getHash() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } } /** - * - * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ @java.lang.Override - public com.google.protobuf.ByteString getHashBytes() { + public com.google.protobuf.ByteString + getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hash_ = b; return b; } else { @@ -456,8 +396,6 @@ public com.google.protobuf.ByteString getHashBytes() { public static final int CONTENTS_FIELD_NUMBER = 7; private com.google.protobuf.ByteString contents_; /** - * - * *
    * Input only. The contents of the artifact.
    * Provided by API callers when artifacts are created or replaced.
@@ -465,7 +403,6 @@ public com.google.protobuf.ByteString getHashBytes() {
    * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ @java.lang.Override @@ -474,7 +411,6 @@ public com.google.protobuf.ByteString getContents() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -486,7 +422,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -521,22 +458,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mimeType_); } if (sizeBytes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, hash_); } if (!contents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, contents_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(7, contents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -546,27 +487,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Artifact)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Artifact other = - (com.google.cloud.apigeeregistry.v1.Artifact) obj; + com.google.cloud.apigeeregistry.v1.Artifact other = (com.google.cloud.apigeeregistry.v1.Artifact) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; - } - if (!getMimeType().equals(other.getMimeType())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHash().equals(other.getHash())) return false; - if (!getContents().equals(other.getContents())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; + } + if (!getMimeType() + .equals(other.getMimeType())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHash() + .equals(other.getHash())) return false; + if (!getContents() + .equals(other.getContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -601,134 +548,125 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Artifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Artifacts of resources. Artifacts are unique (single-value) per resource
    * and are used to store metadata that is too large or numerous to be stored
    * directly on the resource. Since artifacts are stored separately from parent
    * resources, they should generally be used for metadata that is needed
-   * infrequently, i.e. not for display in primary views of the resource but
-   * perhaps displayed or downloaded upon request. The ListArtifacts method
+   * infrequently, i.e., not for display in primary views of the resource but
+   * perhaps displayed or downloaded upon request. The `ListArtifacts` method
    * allows artifacts to be quickly enumerated and checked for presence without
    * downloading their (potentially-large) contents.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Artifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Artifact) com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Artifact.class, - com.google.cloud.apigeeregistry.v1.Artifact.Builder.class); + com.google.cloud.apigeeregistry.v1.Artifact.class, com.google.cloud.apigeeregistry.v1.Artifact.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.Artifact.newBuilder() @@ -736,15 +674,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(); @@ -774,9 +713,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryModelsProto - .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor; } @java.lang.Override @@ -795,8 +734,7 @@ public com.google.cloud.apigeeregistry.v1.Artifact build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.Artifact buildPartial() { - com.google.cloud.apigeeregistry.v1.Artifact result = - new com.google.cloud.apigeeregistry.v1.Artifact(this); + com.google.cloud.apigeeregistry.v1.Artifact result = new com.google.cloud.apigeeregistry.v1.Artifact(this); result.name_ = name_; if (createTimeBuilder_ == null) { result.createTime_ = createTime_; @@ -820,39 +758,38 @@ public com.google.cloud.apigeeregistry.v1.Artifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.Artifact) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.Artifact) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.Artifact)other); } else { super.mergeFrom(other); return this; @@ -916,20 +853,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Resource name.
      * 
* * 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,21 +873,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Resource name.
      * 
* * 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 { @@ -960,61 +894,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Resource name.
      * 
* * 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; } /** - * - * *
      * Resource name.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Resource name.
      * 
* * 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; @@ -1022,58 +949,39 @@ public Builder setNameBytes(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_; /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1089,17 +997,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1110,21 +1015,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1136,15 +1037,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1158,64 +1055,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1223,58 +1104,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1290,17 +1152,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1311,21 +1170,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1337,15 +1192,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1359,64 +1210,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1424,8 +1259,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object mimeType_ = ""; /** - * - * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1436,13 +1269,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string mime_type = 4; - * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -1451,8 +1284,6 @@ public java.lang.String getMimeType() { } } /** - * - * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1463,14 +1294,15 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 4; - * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString getMimeTypeBytes() { + public com.google.protobuf.ByteString + getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mimeType_ = b; return b; } else { @@ -1478,8 +1310,6 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { } } /** - * - * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1490,22 +1320,20 @@ public com.google.protobuf.ByteString getMimeTypeBytes() {
      * 
* * string mime_type = 4; - * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType(java.lang.String value) { + public Builder setMimeType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** - * - * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1516,18 +1344,15 @@ public Builder setMimeType(java.lang.String value) {
      * 
* * string mime_type = 4; - * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** - * - * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1538,32 +1363,29 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 4; - * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } - private int sizeBytes_; + private int sizeBytes_ ; /** - * - * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -1571,38 +1393,32 @@ public int getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(int value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0; onChanged(); return this; @@ -1610,21 +1426,19 @@ public Builder clearSizeBytes() { private java.lang.Object hash_ = ""; /** - * - * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; @@ -1633,22 +1447,21 @@ public java.lang.String getHash() { } } /** - * - * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ - public com.google.protobuf.ByteString getHashBytes() { + public com.google.protobuf.ByteString + getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hash_ = b; return b; } else { @@ -1656,64 +1469,57 @@ public com.google.protobuf.ByteString getHashBytes() { } } /** - * - * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The hash to set. * @return This builder for chaining. */ - public Builder setHash(java.lang.String value) { + public Builder setHash( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hash_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearHash() { - + hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** - * - * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for hash to set. * @return This builder for chaining. */ - public Builder setHashBytes(com.google.protobuf.ByteString value) { + public Builder setHashBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hash_ = value; onChanged(); return this; @@ -1721,8 +1527,6 @@ public Builder setHashBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1730,7 +1534,6 @@ public Builder setHashBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ @java.lang.Override @@ -1738,8 +1541,6 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** - * - * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1747,22 +1548,19 @@ public com.google.protobuf.ByteString getContents() {
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** - * - * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1770,18 +1568,17 @@ public Builder setContents(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1791,12 +1588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Artifact) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Artifact) private static final com.google.cloud.apigeeregistry.v1.Artifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Artifact(); } @@ -1805,16 +1602,16 @@ public static com.google.cloud.apigeeregistry.v1.Artifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Artifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Artifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Artifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Artifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1829,4 +1626,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Artifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java similarity index 100% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java similarity index 76% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java index 67cb7b2..9b1afbb 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java @@ -1,132 +1,87 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_models.proto package com.google.cloud.apigeeregistry.v1; -public interface ArtifactOrBuilder - extends +public interface ArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Artifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Resource name.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -137,13 +92,10 @@ public interface ArtifactOrBuilder
    * 
* * string mime_type = 4; - * * @return The mimeType. */ java.lang.String getMimeType(); /** - * - * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -154,55 +106,45 @@ public interface ArtifactOrBuilder
    * 
* * string mime_type = 4; - * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString getMimeTypeBytes(); + com.google.protobuf.ByteString + getMimeTypeBytes(); /** - * - * *
    * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
    * the size of the uncompressed artifact.
    * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ int getSizeBytes(); /** - * - * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hash. */ java.lang.String getHash(); /** - * - * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hash. */ - com.google.protobuf.ByteString getHashBytes(); + com.google.protobuf.ByteString + getHashBytes(); /** - * - * *
    * Input only. The contents of the artifact.
    * Provided by API callers when artifacts are created or replaced.
@@ -210,7 +152,6 @@ public interface ArtifactOrBuilder
    * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The contents. */ com.google.protobuf.ByteString getContents(); diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java index e6cf0ad..8bee5d2 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest} */ -public final class CreateApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateApiDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) CreateApiDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateApiDeploymentRequest.newBuilder() to construct. private CreateApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateApiDeploymentRequest() { parent_ = ""; apiDeploymentId_ = ""; @@ -44,15 +26,16 @@ private CreateApiDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateApiDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; + if (apiDeployment_ != null) { + subBuilder = apiDeployment_.toBuilder(); } - case 18: - { - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; - if (apiDeployment_ != null) { - subBuilder = apiDeployment_.toBuilder(); - } - apiDeployment_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiDeployment_); - apiDeployment_ = subBuilder.buildPartial(); - } - - break; + apiDeployment_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiDeployment_); + apiDeployment_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - apiDeploymentId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + apiDeploymentId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int API_DEPLOYMENT_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasApiDeployment() { return apiDeployment_ != null; } /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { @@ -249,8 +202,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int API_DEPLOYMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiDeploymentId_; /** - * - * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -260,7 +211,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiDeploymentId. */ @java.lang.Override @@ -269,15 +219,14 @@ public java.lang.String getApiDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiDeploymentId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -287,15 +236,16 @@ public java.lang.String getApiDeploymentId() {
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString getApiDeploymentIdBytes() { + public com.google.protobuf.ByteString + getApiDeploymentIdBytes() { java.lang.Object ref = apiDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiDeploymentId_ = b; return b; } else { @@ -304,7 +254,6 @@ public com.google.protobuf.ByteString getApiDeploymentIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -339,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getApiDeployment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiDeploymentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiDeploymentId_); @@ -352,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other = - (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasApiDeployment() != other.hasApiDeployment()) return false; if (hasApiDeployment()) { - if (!getApiDeployment().equals(other.getApiDeployment())) return false; + if (!getApiDeployment() + .equals(other.getApiDeployment())) return false; } - if (!getApiDeploymentId().equals(other.getApiDeploymentId())) return false; + if (!getApiDeploymentId() + .equals(other.getApiDeploymentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +344,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.newBuilder() @@ -519,15 +462,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(); @@ -545,14 +489,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance(); } @@ -567,8 +510,7 @@ public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest result = - new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(this); result.parent_ = parent_; if (apiDeploymentBuilder_ == null) { result.apiDeployment_ = apiDeployment_; @@ -584,39 +526,38 @@ public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -624,9 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -657,9 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -671,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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; @@ -696,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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 { @@ -721,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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; @@ -792,58 +709,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> - apiDeploymentBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentBuilder_; /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ public boolean hasApiDeployment() { return apiDeploymentBuilder_ != null || apiDeployment_ != null; } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { if (apiDeploymentBuilder_ == null) { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } else { return apiDeploymentBuilder_.getMessage(); } } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { @@ -859,15 +757,11 @@ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment return this; } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiDeployment( com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder builderForValue) { @@ -881,23 +775,17 @@ public Builder setApiDeployment( return this; } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { if (apiDeployment_ != null) { apiDeployment_ = - com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_).mergeFrom(value).buildPartial(); } else { apiDeployment_ = value; } @@ -909,15 +797,11 @@ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployme return this; } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiDeployment() { if (apiDeploymentBuilder_ == null) { @@ -931,64 +815,48 @@ public Builder clearApiDeployment() { return this; } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeploymentBuilder() { - + onChanged(); return getApiDeploymentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { if (apiDeploymentBuilder_ != null) { return apiDeploymentBuilder_.getMessageOrBuilder(); } else { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } } /** - * - * *
      * Required. The deployment to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentFieldBuilder() { if (apiDeploymentBuilder_ == null) { - apiDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( - getApiDeployment(), getParentForChildren(), isClean()); + apiDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + getApiDeployment(), + getParentForChildren(), + isClean()); apiDeployment_ = null; } return apiDeploymentBuilder_; @@ -996,8 +864,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen private java.lang.Object apiDeploymentId_ = ""; /** - * - * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -1007,13 +873,13 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiDeploymentId. */ public java.lang.String getApiDeploymentId() { java.lang.Object ref = apiDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiDeploymentId_ = s; return s; @@ -1022,8 +888,6 @@ public java.lang.String getApiDeploymentId() { } } /** - * - * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -1033,14 +897,15 @@ public java.lang.String getApiDeploymentId() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiDeploymentId. */ - public com.google.protobuf.ByteString getApiDeploymentIdBytes() { + public com.google.protobuf.ByteString + getApiDeploymentIdBytes() { java.lang.Object ref = apiDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiDeploymentId_ = b; return b; } else { @@ -1048,8 +913,6 @@ public com.google.protobuf.ByteString getApiDeploymentIdBytes() { } } /** - * - * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -1059,22 +922,20 @@ public com.google.protobuf.ByteString getApiDeploymentIdBytes() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The apiDeploymentId to set. * @return This builder for chaining. */ - public Builder setApiDeploymentId(java.lang.String value) { + public Builder setApiDeploymentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiDeploymentId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -1084,18 +945,15 @@ public Builder setApiDeploymentId(java.lang.String value) {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApiDeploymentId() { - + apiDeploymentId_ = getDefaultInstance().getApiDeploymentId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -1105,23 +963,23 @@ public Builder clearApiDeploymentId() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for apiDeploymentId to set. * @return This builder for chaining. */ - public Builder setApiDeploymentIdBytes(com.google.protobuf.ByteString value) { + public Builder setApiDeploymentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiDeploymentId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1131,13 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(); } @@ -1146,16 +1003,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java index a168eb3..19d23f2 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiDeploymentRequestOrBuilder - extends +public interface CreateApiDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ boolean hasApiDeployment(); /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(); /** - * - * *
    * Required. The deployment to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder(); /** - * - * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -107,13 +66,10 @@ public interface CreateApiDeploymentRequestOrBuilder
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiDeploymentId. */ java.lang.String getApiDeploymentId(); /** - * - * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -123,8 +79,8 @@ public interface CreateApiDeploymentRequestOrBuilder
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiDeploymentId. */ - com.google.protobuf.ByteString getApiDeploymentIdBytes(); + com.google.protobuf.ByteString + getApiDeploymentIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java similarity index 66% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java index 961322b..a271718 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiRequest} */ -public final class CreateApiRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateApiRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiRequest) CreateApiRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateApiRequest.newBuilder() to construct. private CreateApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateApiRequest() { parent_ = ""; apiId_ = ""; @@ -44,15 +26,16 @@ private CreateApiRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateApiRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; + if (api_ != null) { + subBuilder = api_.toBuilder(); } - case 18: - { - com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; - if (api_ != null) { - subBuilder = api_.toBuilder(); - } - api_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(api_); - api_ = subBuilder.buildPartial(); - } - - break; + api_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(api_); + api_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - apiId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + apiId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,15 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int API_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.Api api_; /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ @java.lang.Override @@ -211,15 +176,11 @@ public boolean hasApi() { return api_ != null; } /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ @java.lang.Override @@ -227,14 +188,11 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { @@ -244,18 +202,15 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { public static final int API_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiId_; /** - * - * *
-   * Required. The ID to use for the api, which will become the final component of
-   * the api's resource name.
+   * Required. The ID to use for the API, which will become the final component of
+   * the API's resource name.
    * This value should be 4-63 characters, and valid characters
    * are /[a-z][0-9]-/.
    * Following AIP-162, IDs must not have the form of a UUID.
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiId. */ @java.lang.Override @@ -264,33 +219,33 @@ public java.lang.String getApiId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiId_ = s; return s; } } /** - * - * *
-   * Required. The ID to use for the api, which will become the final component of
-   * the api's resource name.
+   * Required. The ID to use for the API, which will become the final component of
+   * the API's resource name.
    * This value should be 4-63 characters, and valid characters
    * are /[a-z][0-9]-/.
    * Following AIP-162, IDs must not have the form of a UUID.
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiId. */ @java.lang.Override - public com.google.protobuf.ByteString getApiIdBytes() { + public com.google.protobuf.ByteString + getApiIdBytes() { java.lang.Object ref = apiId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiId_ = b; return b; } else { @@ -299,7 +254,6 @@ public com.google.protobuf.ByteString getApiIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (api_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApi()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getApi()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiId_); @@ -347,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiRequest other = - (com.google.cloud.apigeeregistry.v1.CreateApiRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasApi() != other.hasApi()) return false; if (hasApi()) { - if (!getApi().equals(other.getApi())) return false; + if (!getApi() + .equals(other.getApi())) return false; } - if (!getApiId().equals(other.getApiId())) return false; + if (!getApiId() + .equals(other.getApiId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -386,126 +344,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiRequest) com.google.cloud.apigeeregistry.v1.CreateApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiRequest.newBuilder() @@ -513,15 +462,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override @@ -560,8 +510,7 @@ public com.google.cloud.apigeeregistry.v1.CreateApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiRequest result = - new com.google.cloud.apigeeregistry.v1.CreateApiRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiRequest(this); result.parent_ = parent_; if (apiBuilder_ == null) { result.api_ = api_; @@ -577,39 +526,38 @@ public com.google.cloud.apigeeregistry.v1.CreateApiRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiRequest)other); } else { super.mergeFrom(other); return this; @@ -617,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -649,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateApiRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -662,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -687,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -712,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,35 +709,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.Api api_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> - apiBuilder_; + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apiBuilder_; /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ public boolean hasApi() { return apiBuilder_ != null || api_ != null; } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ public com.google.cloud.apigeeregistry.v1.Api getApi() { @@ -822,14 +737,11 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { } } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { @@ -845,16 +757,14 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder setApi( + com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apiBuilder_ == null) { api_ = builderForValue.build(); onChanged(); @@ -865,22 +775,17 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForV return this; } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { if (api_ != null) { api_ = - com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_).mergeFrom(value).buildPartial(); } else { api_ = value; } @@ -892,14 +797,11 @@ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApi() { if (apiBuilder_ == null) { @@ -913,59 +815,48 @@ public Builder clearApi() { return this; } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Api.Builder getApiBuilder() { - + onChanged(); return getApiFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { if (apiBuilder_ != null) { return apiBuilder_.getMessageOrBuilder(); } else { - return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; + return api_ == null ? + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } } /** - * - * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApiFieldBuilder() { if (apiBuilder_ == null) { - apiBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - getApi(), getParentForChildren(), isClean()); + apiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + getApi(), + getParentForChildren(), + isClean()); api_ = null; } return apiBuilder_; @@ -973,24 +864,22 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { private java.lang.Object apiId_ = ""; /** - * - * *
-     * Required. The ID to use for the api, which will become the final component of
-     * the api's resource name.
+     * Required. The ID to use for the API, which will become the final component of
+     * the API's resource name.
      * This value should be 4-63 characters, and valid characters
      * are /[a-z][0-9]-/.
      * Following AIP-162, IDs must not have the form of a UUID.
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiId. */ public java.lang.String getApiId() { java.lang.Object ref = apiId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiId_ = s; return s; @@ -999,25 +888,24 @@ public java.lang.String getApiId() { } } /** - * - * *
-     * Required. The ID to use for the api, which will become the final component of
-     * the api's resource name.
+     * Required. The ID to use for the API, which will become the final component of
+     * the API's resource name.
      * This value should be 4-63 characters, and valid characters
      * are /[a-z][0-9]-/.
      * Following AIP-162, IDs must not have the form of a UUID.
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiId. */ - public com.google.protobuf.ByteString getApiIdBytes() { + public com.google.protobuf.ByteString + getApiIdBytes() { java.lang.Object ref = apiId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiId_ = b; return b; } else { @@ -1025,80 +913,73 @@ public com.google.protobuf.ByteString getApiIdBytes() { } } /** - * - * *
-     * Required. The ID to use for the api, which will become the final component of
-     * the api's resource name.
+     * Required. The ID to use for the API, which will become the final component of
+     * the API's resource name.
      * This value should be 4-63 characters, and valid characters
      * are /[a-z][0-9]-/.
      * Following AIP-162, IDs must not have the form of a UUID.
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The apiId to set. * @return This builder for chaining. */ - public Builder setApiId(java.lang.String value) { + public Builder setApiId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiId_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The ID to use for the api, which will become the final component of
-     * the api's resource name.
+     * Required. The ID to use for the API, which will become the final component of
+     * the API's resource name.
      * This value should be 4-63 characters, and valid characters
      * are /[a-z][0-9]-/.
      * Following AIP-162, IDs must not have the form of a UUID.
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApiId() { - + apiId_ = getDefaultInstance().getApiId(); onChanged(); return this; } /** - * - * *
-     * Required. The ID to use for the api, which will become the final component of
-     * the api's resource name.
+     * Required. The ID to use for the API, which will become the final component of
+     * the API's resource name.
      * This value should be 4-63 characters, and valid characters
      * are /[a-z][0-9]-/.
      * Following AIP-162, IDs must not have the form of a UUID.
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for apiId to set. * @return This builder for chaining. */ - public Builder setApiIdBytes(com.google.protobuf.ByteString value) { + public Builder setApiIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1108,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiRequest(); } @@ -1122,16 +1003,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1146,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java index 09f5b29..84746e0 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java @@ -1,127 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiRequestOrBuilder - extends +public interface CreateApiRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ boolean hasApi(); /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ com.google.cloud.apigeeregistry.v1.Api getApi(); /** - * - * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder(); /** - * - * *
-   * Required. The ID to use for the api, which will become the final component of
-   * the api's resource name.
+   * Required. The ID to use for the API, which will become the final component of
+   * the API's resource name.
    * This value should be 4-63 characters, and valid characters
    * are /[a-z][0-9]-/.
    * Following AIP-162, IDs must not have the form of a UUID.
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiId. */ java.lang.String getApiId(); /** - * - * *
-   * Required. The ID to use for the api, which will become the final component of
-   * the api's resource name.
+   * Required. The ID to use for the API, which will become the final component of
+   * the API's resource name.
    * This value should be 4-63 characters, and valid characters
    * are /[a-z][0-9]-/.
    * Following AIP-162, IDs must not have the form of a UUID.
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiId. */ - com.google.protobuf.ByteString getApiIdBytes(); + com.google.protobuf.ByteString + getApiIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java index c2dacfa..b8f4bb7 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiSpecRequest} */ -public final class CreateApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateApiSpecRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) CreateApiSpecRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateApiSpecRequest.newBuilder() to construct. private CreateApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateApiSpecRequest() { parent_ = ""; apiSpecId_ = ""; @@ -44,15 +26,16 @@ private CreateApiSpecRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateApiSpecRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; + if (apiSpec_ != null) { + subBuilder = apiSpec_.toBuilder(); } - case 18: - { - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; - if (apiSpec_ != null) { - subBuilder = apiSpec_.toBuilder(); - } - apiSpec_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiSpec_); - apiSpec_ = subBuilder.buildPartial(); - } - - break; + apiSpec_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiSpec_); + apiSpec_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - apiSpecId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + apiSpecId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int API_SPEC_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasApiSpec() { return apiSpec_ != null; } /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { @@ -249,8 +202,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() public static final int API_SPEC_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiSpecId_; /** - * - * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -260,7 +211,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiSpecId. */ @java.lang.Override @@ -269,15 +219,14 @@ public java.lang.String getApiSpecId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -287,15 +236,16 @@ public java.lang.String getApiSpecId() {
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiSpecId. */ @java.lang.Override - public com.google.protobuf.ByteString getApiSpecIdBytes() { + public com.google.protobuf.ByteString + getApiSpecIdBytes() { java.lang.Object ref = apiSpecId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiSpecId_ = b; return b; } else { @@ -304,7 +254,6 @@ public com.google.protobuf.ByteString getApiSpecIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -339,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getApiSpec()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiSpecId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiSpecId_); @@ -352,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other = - (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasApiSpec() != other.hasApiSpec()) return false; if (hasApiSpec()) { - if (!getApiSpec().equals(other.getApiSpec())) return false; + if (!getApiSpec() + .equals(other.getApiSpec())) return false; } - if (!getApiSpecId().equals(other.getApiSpecId())) return false; + if (!getApiSpecId() + .equals(other.getApiSpecId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +344,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiSpecRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) com.google.cloud.apigeeregistry.v1.CreateApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.newBuilder() @@ -519,15 +462,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(); @@ -545,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override @@ -566,8 +510,7 @@ public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest result = - new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(this); result.parent_ = parent_; if (apiSpecBuilder_ == null) { result.apiSpec_ = apiSpec_; @@ -583,39 +526,38 @@ public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest)other); } else { super.mergeFrom(other); return this; @@ -623,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -655,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -693,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 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 { @@ -718,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * 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; @@ -789,58 +709,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> - apiSpecBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecBuilder_; /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ public boolean hasApiSpec() { return apiSpecBuilder_ != null || apiSpec_ != null; } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { if (apiSpecBuilder_ == null) { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } else { return apiSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { @@ -856,17 +757,14 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder setApiSpec( + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecBuilder_ == null) { apiSpec_ = builderForValue.build(); onChanged(); @@ -877,23 +775,17 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder bui return this; } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { if (apiSpec_ != null) { apiSpec_ = - com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_).mergeFrom(value).buildPartial(); } else { apiSpec_ = value; } @@ -905,15 +797,11 @@ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiSpec() { if (apiSpecBuilder_ == null) { @@ -927,64 +815,48 @@ public Builder clearApiSpec() { return this; } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecBuilder() { - + onChanged(); return getApiSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { if (apiSpecBuilder_ != null) { return apiSpecBuilder_.getMessageOrBuilder(); } else { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } } /** - * - * *
      * Required. The spec to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecFieldBuilder() { if (apiSpecBuilder_ == null) { - apiSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - getApiSpec(), getParentForChildren(), isClean()); + apiSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + getApiSpec(), + getParentForChildren(), + isClean()); apiSpec_ = null; } return apiSpecBuilder_; @@ -992,8 +864,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() private java.lang.Object apiSpecId_ = ""; /** - * - * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -1003,13 +873,13 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiSpecId. */ public java.lang.String getApiSpecId() { java.lang.Object ref = apiSpecId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecId_ = s; return s; @@ -1018,8 +888,6 @@ public java.lang.String getApiSpecId() { } } /** - * - * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -1029,14 +897,15 @@ public java.lang.String getApiSpecId() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiSpecId. */ - public com.google.protobuf.ByteString getApiSpecIdBytes() { + public com.google.protobuf.ByteString + getApiSpecIdBytes() { java.lang.Object ref = apiSpecId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiSpecId_ = b; return b; } else { @@ -1044,8 +913,6 @@ public com.google.protobuf.ByteString getApiSpecIdBytes() { } } /** - * - * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -1055,22 +922,20 @@ public com.google.protobuf.ByteString getApiSpecIdBytes() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The apiSpecId to set. * @return This builder for chaining. */ - public Builder setApiSpecId(java.lang.String value) { + public Builder setApiSpecId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiSpecId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -1080,18 +945,15 @@ public Builder setApiSpecId(java.lang.String value) {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApiSpecId() { - + apiSpecId_ = getDefaultInstance().getApiSpecId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -1101,23 +963,23 @@ public Builder clearApiSpecId() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for apiSpecId to set. * @return This builder for chaining. */ - public Builder setApiSpecIdBytes(com.google.protobuf.ByteString value) { + public Builder setApiSpecIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiSpecId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1127,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(); } @@ -1141,16 +1003,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java index 6318bfc..6af64b9 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiSpecRequestOrBuilder - extends +public interface CreateApiSpecRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ boolean hasApiSpec(); /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(); /** - * - * *
    * Required. The spec to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder(); /** - * - * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -107,13 +66,10 @@ public interface CreateApiSpecRequestOrBuilder
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiSpecId. */ java.lang.String getApiSpecId(); /** - * - * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -123,8 +79,8 @@ public interface CreateApiSpecRequestOrBuilder
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiSpecId. */ - com.google.protobuf.ByteString getApiSpecIdBytes(); + com.google.protobuf.ByteString + getApiSpecIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java index 957689f..ae95250 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiVersionRequest} */ -public final class CreateApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateApiVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) CreateApiVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateApiVersionRequest.newBuilder() to construct. private CreateApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateApiVersionRequest() { parent_ = ""; apiVersionId_ = ""; @@ -44,15 +26,16 @@ private CreateApiVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateApiVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; + if (apiVersion_ != null) { + subBuilder = apiVersion_.toBuilder(); } - case 18: - { - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; - if (apiVersion_ != null) { - subBuilder = apiVersion_.toBuilder(); - } - apiVersion_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiVersion_); - apiVersion_ = subBuilder.buildPartial(); - } - - break; + apiVersion_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiVersion_); + apiVersion_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - apiVersionId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int API_VERSION_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasApiVersion() { return apiVersion_ != null; } /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { @@ -249,8 +202,6 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui public static final int API_VERSION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiVersionId_; /** - * - * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -260,7 +211,6 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiVersionId. */ @java.lang.Override @@ -269,15 +219,14 @@ public java.lang.String getApiVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersionId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -287,15 +236,16 @@ public java.lang.String getApiVersionId() {
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionIdBytes() { + public com.google.protobuf.ByteString + getApiVersionIdBytes() { java.lang.Object ref = apiVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersionId_ = b; return b; } else { @@ -304,7 +254,6 @@ public com.google.protobuf.ByteString getApiVersionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -339,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiVersion_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiVersion()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getApiVersion()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiVersionId_); @@ -352,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other = - (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasApiVersion() != other.hasApiVersion()) return false; if (hasApiVersion()) { - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; } - if (!getApiVersionId().equals(other.getApiVersionId())) return false; + if (!getApiVersionId() + .equals(other.getApiVersionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +344,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) com.google.cloud.apigeeregistry.v1.CreateApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.newBuilder() @@ -519,15 +462,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(); @@ -545,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override @@ -566,8 +510,7 @@ public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest result = - new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(this); result.parent_ = parent_; if (apiVersionBuilder_ == null) { result.apiVersion_ = apiVersion_; @@ -583,39 +526,38 @@ public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -623,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -655,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -693,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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 { @@ -718,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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; @@ -789,58 +709,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> - apiVersionBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionBuilder_; /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ public boolean hasApiVersion() { return apiVersionBuilder_ != null || apiVersion_ != null; } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { if (apiVersionBuilder_ == null) { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } else { return apiVersionBuilder_.getMessage(); } } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { @@ -856,15 +757,11 @@ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value return this; } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiVersion( com.google.cloud.apigeeregistry.v1.ApiVersion.Builder builderForValue) { @@ -878,23 +775,17 @@ public Builder setApiVersion( return this; } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { if (apiVersion_ != null) { apiVersion_ = - com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_).mergeFrom(value).buildPartial(); } else { apiVersion_ = value; } @@ -906,15 +797,11 @@ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion val return this; } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiVersion() { if (apiVersionBuilder_ == null) { @@ -928,64 +815,48 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionBuilder() { - + onChanged(); return getApiVersionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { if (apiVersionBuilder_ != null) { return apiVersionBuilder_.getMessageOrBuilder(); } else { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } } /** - * - * *
      * Required. The version to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionFieldBuilder() { if (apiVersionBuilder_ == null) { - apiVersionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - getApiVersion(), getParentForChildren(), isClean()); + apiVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + getApiVersion(), + getParentForChildren(), + isClean()); apiVersion_ = null; } return apiVersionBuilder_; @@ -993,8 +864,6 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui private java.lang.Object apiVersionId_ = ""; /** - * - * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -1004,13 +873,13 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiVersionId. */ public java.lang.String getApiVersionId() { java.lang.Object ref = apiVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersionId_ = s; return s; @@ -1019,8 +888,6 @@ public java.lang.String getApiVersionId() { } } /** - * - * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -1030,14 +897,15 @@ public java.lang.String getApiVersionId() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiVersionId. */ - public com.google.protobuf.ByteString getApiVersionIdBytes() { + public com.google.protobuf.ByteString + getApiVersionIdBytes() { java.lang.Object ref = apiVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersionId_ = b; return b; } else { @@ -1045,8 +913,6 @@ public com.google.protobuf.ByteString getApiVersionIdBytes() { } } /** - * - * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -1056,22 +922,20 @@ public com.google.protobuf.ByteString getApiVersionIdBytes() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The apiVersionId to set. * @return This builder for chaining. */ - public Builder setApiVersionId(java.lang.String value) { + public Builder setApiVersionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -1081,18 +945,15 @@ public Builder setApiVersionId(java.lang.String value) {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearApiVersionId() { - + apiVersionId_ = getDefaultInstance().getApiVersionId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -1102,23 +963,23 @@ public Builder clearApiVersionId() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for apiVersionId to set. * @return This builder for chaining. */ - public Builder setApiVersionIdBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(); } @@ -1142,16 +1003,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java index b006602..7590ad0 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiVersionRequestOrBuilder - extends +public interface CreateApiVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ boolean hasApiVersion(); /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(); /** - * - * *
    * Required. The version to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder(); /** - * - * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -107,13 +66,10 @@ public interface CreateApiVersionRequestOrBuilder
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The apiVersionId. */ java.lang.String getApiVersionId(); /** - * - * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -123,8 +79,8 @@ public interface CreateApiVersionRequestOrBuilder
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for apiVersionId. */ - com.google.protobuf.ByteString getApiVersionIdBytes(); + com.google.protobuf.ByteString + getApiVersionIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java similarity index 66% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java index 70f2c85..2b0b8fe 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateArtifactRequest} */ -public final class CreateArtifactRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateArtifactRequest) CreateArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateArtifactRequest.newBuilder() to construct. private CreateArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateArtifactRequest() { parent_ = ""; artifactId_ = ""; @@ -44,15 +26,16 @@ private CreateArtifactRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateArtifactRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); } - case 18: - { - com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); - } - artifact_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = subBuilder.buildPartial(); - } - - break; + artifact_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + artifactId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int ARTIFACT_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.Artifact artifact_; /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasArtifact() { return artifact_ != null; } /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { @@ -249,8 +202,6 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder public static final int ARTIFACT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object artifactId_; /** - * - * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -260,7 +211,6 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ @java.lang.Override @@ -269,15 +219,14 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -287,15 +236,16 @@ public java.lang.String getArtifactId() {
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -304,7 +254,6 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -339,7 +289,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getArtifact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getArtifact()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, artifactId_); @@ -352,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other = - (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other = (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasArtifact() != other.hasArtifact()) return false; if (hasArtifact()) { - if (!getArtifact().equals(other.getArtifact())) return false; + if (!getArtifact() + .equals(other.getArtifact())) return false; } - if (!getArtifactId().equals(other.getArtifactId())) return false; + if (!getArtifactId() + .equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -391,127 +344,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateArtifactRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateArtifactRequest) com.google.cloud.apigeeregistry.v1.CreateArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.newBuilder() @@ -519,15 +462,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(); @@ -545,9 +489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override @@ -566,8 +510,7 @@ public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest result = - new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest result = new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(this); result.parent_ = parent_; if (artifactBuilder_ == null) { result.artifact_ = artifact_; @@ -583,39 +526,38 @@ public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest)other); } else { super.mergeFrom(other); return this; @@ -623,8 +565,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -655,8 +596,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -668,23 +608,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -693,24 +629,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 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 { @@ -718,70 +651,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * 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; @@ -789,58 +709,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.Artifact artifact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> - artifactBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactBuilder_; /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ public boolean hasArtifact() { return artifactBuilder_ != null || artifact_ != null; } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { if (artifactBuilder_ == null) { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } else { return artifactBuilder_.getMessage(); } } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { @@ -856,15 +757,11 @@ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact( com.google.cloud.apigeeregistry.v1.Artifact.Builder builderForValue) { @@ -878,23 +775,17 @@ public Builder setArtifact( return this; } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { if (artifact_ != null) { artifact_ = - com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); } else { artifact_ = value; } @@ -906,15 +797,11 @@ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) return this; } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearArtifact() { if (artifactBuilder_ == null) { @@ -928,64 +815,48 @@ public Builder clearArtifact() { return this; } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactBuilder() { - + onChanged(); return getArtifactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilder(); } else { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } } /** - * - * *
      * Required. The artifact to create.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { - artifactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - getArtifact(), getParentForChildren(), isClean()); + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + getArtifact(), + getParentForChildren(), + isClean()); artifact_ = null; } return artifactBuilder_; @@ -993,8 +864,6 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder private java.lang.Object artifactId_ = ""; /** - * - * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -1004,13 +873,13 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -1019,8 +888,6 @@ public java.lang.String getArtifactId() { } } /** - * - * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -1030,14 +897,15 @@ public java.lang.String getArtifactId() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString getArtifactIdBytes() { + public com.google.protobuf.ByteString + getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); artifactId_ = b; return b; } else { @@ -1045,8 +913,6 @@ public com.google.protobuf.ByteString getArtifactIdBytes() { } } /** - * - * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -1056,22 +922,20 @@ public com.google.protobuf.ByteString getArtifactIdBytes() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId(java.lang.String value) { + public Builder setArtifactId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -1081,18 +945,15 @@ public Builder setArtifactId(java.lang.String value) {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -1102,23 +963,23 @@ public Builder clearArtifactId() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,12 +989,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.CreateArtifactRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(); } @@ -1142,16 +1003,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java index 5a8561f..378de0e 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateArtifactRequestOrBuilder - extends +public interface CreateArtifactRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateArtifactRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ boolean hasArtifact(); /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ com.google.cloud.apigeeregistry.v1.Artifact getArtifact(); /** - * - * *
    * Required. The artifact to create.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder(); /** - * - * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -107,13 +66,10 @@ public interface CreateArtifactRequestOrBuilder
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The artifactId. */ java.lang.String getArtifactId(); /** - * - * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -123,8 +79,8 @@ public interface CreateArtifactRequestOrBuilder
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString getArtifactIdBytes(); + com.google.protobuf.ByteString + getArtifactIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java index 8820782..dd96e97 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for CreateInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -44,15 +26,16 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateInstanceRequest( 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(); - instanceId_ = s; - break; + instanceId_ = s; + break; + } + case 26: { + com.google.cloud.apigeeregistry.v1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); } - case 26: - { - com.google.cloud.apigeeregistry.v1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); - } - instance_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); - } - - break; + instance_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +93,34 @@ private CreateInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -158,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. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -193,15 +162,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** - * - * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -210,30 +176,30 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -244,16 +210,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.apigeeregistry.v1.Instance instance_; /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -261,34 +222,23 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -296,7 +246,6 @@ public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -334,7 +284,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -344,19 +295,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other = - (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other = (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -383,127 +336,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for CreateInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateInstanceRequest) com.google.cloud.apigeeregistry.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.newBuilder() @@ -511,15 +454,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(); @@ -537,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -558,8 +502,7 @@ public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest result = - new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest result = new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -575,39 +518,38 @@ public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -615,8 +557,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -647,8 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -660,22 +600,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -684,23 +620,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -708,67 +641,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -776,21 +696,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -799,22 +717,21 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -822,64 +739,57 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -887,58 +797,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, - com.google.cloud.apigeeregistry.v1.Instance.Builder, - com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.apigeeregistry.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.apigeeregistry.v1.Instance value) { if (instanceBuilder_ == null) { @@ -954,15 +845,11 @@ public Builder setInstance(com.google.cloud.apigeeregistry.v1.Instance value) { return this; } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance( com.google.cloud.apigeeregistry.v1.Instance.Builder builderForValue) { @@ -976,23 +863,17 @@ public Builder setInstance( return this; } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.apigeeregistry.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.apigeeregistry.v1.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -1004,15 +885,11 @@ public Builder mergeInstance(com.google.cloud.apigeeregistry.v1.Instance value) return this; } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -1026,71 +903,55 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, - com.google.cloud.apigeeregistry.v1.Instance.Builder, - com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> + com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, - com.google.cloud.apigeeregistry.v1.Instance.Builder, - com.google.cloud.apigeeregistry.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +961,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(); } @@ -1114,16 +975,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +999,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java index 3d2dbb6..054683c 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java @@ -1,122 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.apigeeregistry.v1.Instance getInstance(); /** - * - * *
    * Required. The Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java index 5670e01..e8a5d3f 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest} */ -public final class DeleteApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) DeleteApiDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiDeploymentRequest.newBuilder() to construct. private DeleteApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteApiDeploymentRequest( 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,42 +78,35 @@ private DeleteApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the deployment to delete.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * string name = 1 [(.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 @@ -140,32 +115,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; } } /** - * - * *
    * Required. The name of the deployment to delete.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -176,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -193,7 +163,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,7 +195,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; @@ -235,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) 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; } @@ -259,134 +231,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.newBuilder() @@ -394,15 +357,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(); @@ -414,14 +378,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance(); } @@ -436,8 +399,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -448,39 +410,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -488,9 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -517,9 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -531,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the deployment to delete.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string name = 1 [(.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; @@ -556,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the deployment to delete.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -581,86 +531,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the deployment to delete.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * 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 deployment to delete.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string 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 deployment to delete.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -668,45 +602,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -716,13 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(); } @@ -731,16 +658,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java new file mode 100644 index 0000000..0f08f62 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the deployment to delete.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the deployment to delete.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java similarity index 60% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java index 1b9e077..176f129 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApiDeploymentRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest} */ -public final class DeleteApiDeploymentRevisionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiDeploymentRevisionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) DeleteApiDeploymentRevisionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiDeploymentRevisionRequest.newBuilder() to construct. - private DeleteApiDeploymentRevisionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteApiDeploymentRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiDeploymentRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiDeploymentRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiDeploymentRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteApiDeploymentRevisionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,44 +73,37 @@ private DeleteApiDeploymentRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the deployment revision to be deleted,
    * with a revision ID explicitly included.
    * Example:
-   * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
    * 
* - * - * string name = 1 [(.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 @@ -138,34 +112,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the deployment revision to be deleted,
    * with a revision ID explicitly included.
    * Example:
-   * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -174,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -210,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -238,145 +210,134 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApiDeploymentRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); } - // Construct using - // com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.newBuilder() + // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -386,16 +347,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - .getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance(); } @java.lang.Override @@ -409,8 +368,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest bui @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -420,51 +378,46 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest 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.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) { - return mergeFrom( - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other) { + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -488,9 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,25 +453,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * - * string name = 1 [(.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; @@ -529,26 +476,23 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -556,83 +500,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * - * 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 deployment revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * - * string 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 deployment revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * - * 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); } @@ -642,32 +573,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiDeploymentRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiDeploymentRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiDeploymentRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiDeploymentRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,8 +608,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java new file mode 100644 index 0000000..22658d3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiDeploymentRevisionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the deployment revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the deployment revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java similarity index 60% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java index 0ba3aac..ac35116 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiRequest} */ -public final class DeleteApiRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiRequest) DeleteApiRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiRequest.newBuilder() to construct. private DeleteApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,24 @@ private DeleteApiRequest( 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; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +78,35 @@ private DeleteApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the API to delete.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +115,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; } } /** - * - * *
    * Required. The name of the API to delete.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,8 +146,23 @@ public com.google.protobuf.ByteString getNameBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int FORCE_FIELD_NUMBER = 2; + private boolean force_; + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,10 +174,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 (force_ != false) { + output.writeBool(2, force_); + } unknownFields.writeTo(output); } @@ -197,6 +194,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -205,15 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,132 +230,126 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiRequest) com.google.cloud.apigeeregistry.v1.DeleteApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiRequest.newBuilder() @@ -360,27 +357,30 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); name_ = ""; + force_ = false; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override @@ -399,9 +399,9 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(this); result.name_ = name_; + result.force_ = force_; onBuilt(); return result; } @@ -410,39 +410,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiRequest)other); } else { super.mergeFrom(other); return this; @@ -450,12 +449,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } + if (other.getForce() != false) { + setForce(other.getForce()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -475,8 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the API to delete.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string name = 1 [(.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,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the API to delete.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +531,110 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the API to delete.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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 API to delete.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string 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 API to delete.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + private boolean force_ ; + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + onChanged(); + return this; + } + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @return This builder for chaining. + */ + public Builder clearForce() { + + force_ = false; + onChanged(); + return this; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(); } @@ -632,16 +658,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java new file mode 100644 index 0000000..2d0912c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the API to delete.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the API to delete.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java index f1c15df..1cade39 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRequest} */ -public final class DeleteApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiSpecRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) DeleteApiSpecRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiSpecRequest.newBuilder() to construct. private DeleteApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiSpecRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteApiSpecRequest( 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,42 +78,35 @@ private DeleteApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.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 @@ -140,32 +115,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; } } /** - * - * *
    * Required. The name of the spec to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -176,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -193,7 +163,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,7 +195,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; @@ -235,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) 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; } @@ -259,134 +231,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.newBuilder() @@ -394,15 +357,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(); @@ -414,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override @@ -435,8 +399,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -447,39 +410,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +449,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -515,8 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.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; @@ -553,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -578,86 +531,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * 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 spec to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string 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 spec to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -665,45 +602,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(); } @@ -727,16 +658,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java new file mode 100644 index 0000000..81ee833 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiSpecRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the spec to delete.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the spec to delete.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java similarity index 62% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java index f359bf9..d28dc74 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApiSpecRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest} */ -public final class DeleteApiSpecRevisionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiSpecRevisionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) DeleteApiSpecRevisionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiSpecRevisionRequest.newBuilder() to construct. private DeleteApiSpecRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiSpecRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiSpecRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiSpecRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteApiSpecRevisionRequest( 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,44 +73,37 @@ private DeleteApiSpecRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec revision to be deleted,
    * with a revision ID explicitly included.
    * Example:
-   * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
    * 
* - * - * string name = 1 [(.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 @@ -137,34 +112,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the spec revision to be deleted,
    * with a revision ID explicitly included.
    * Example:
-   * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,127 +210,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApiSpecRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.newBuilder() @@ -365,15 +328,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(); @@ -383,14 +347,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance(); } @@ -405,8 +368,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -416,50 +378,46 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other) { + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -483,9 +441,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,25 +453,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * - * string name = 1 [(.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; @@ -524,26 +476,23 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -551,83 +500,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * - * 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 spec revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * - * string 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 spec revision to be deleted,
      * with a revision ID explicitly included.
      * Example:
-     * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
+     * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * - * 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); } @@ -637,32 +573,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiSpecRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiSpecRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiSpecRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiSpecRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -674,8 +608,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java new file mode 100644 index 0000000..00e35b8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiSpecRevisionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the spec revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the spec revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java similarity index 60% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java index 1bbf7f7..2b5da3b 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiVersionRequest} */ -public final class DeleteApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteApiVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) DeleteApiVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteApiVersionRequest.newBuilder() to construct. private DeleteApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteApiVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,24 @@ private DeleteApiVersionRequest( 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; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +78,35 @@ private DeleteApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the version to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +115,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; } } /** - * - * *
    * Required. The name of the version to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,8 +146,23 @@ public com.google.protobuf.ByteString getNameBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int FORCE_FIELD_NUMBER = 2; + private boolean force_; + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,10 +174,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 (force_ != false) { + output.writeBool(2, force_); + } unknownFields.writeTo(output); } @@ -197,6 +194,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -205,15 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,133 +230,126 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.newBuilder() @@ -361,27 +357,30 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); name_ = ""; + force_ = false; + return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override @@ -400,9 +399,9 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(this); result.name_ = name_; + result.force_ = force_; onBuilt(); return result; } @@ -411,39 +410,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -451,12 +449,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } + if (other.getForce() != false) { + setForce(other.getForce()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -476,8 +476,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +488,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the version to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string name = 1 [(.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,24 +509,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the version to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +531,110 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the version to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * 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 version to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string 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 version to delete.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + private boolean force_ ; + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + onChanged(); + return this; + } + /** + *
+     * If set to true, any child resources will also be deleted.
+     * (Otherwise, the request will only work if there are no child resources.)
+     * 
+ * + * bool force = 2; + * @return This builder for chaining. + */ + public Builder clearForce() { + + force_ = false; + onChanged(); + return this; + } @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +644,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(); } @@ -633,16 +658,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java new file mode 100644 index 0000000..bcedc23 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiVersionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the version to delete.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the version to delete.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java index f25b60a..bc02928 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteArtifactRequest} */ -public final class DeleteArtifactRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) DeleteArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteArtifactRequest.newBuilder() to construct. private DeleteArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteArtifactRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteArtifactRequest( 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,42 +73,35 @@ private DeleteArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the artifact to delete.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the artifact to delete.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other = (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteArtifactRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) com.google.cloud.apigeeregistry.v1.DeleteArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest result = new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the artifact to delete.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the artifact to delete.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the artifact to delete.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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 artifact to delete.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string 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 artifact to delete.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java new file mode 100644 index 0000000..6ae4b19 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the artifact to delete.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the artifact to delete.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java similarity index 66% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java index 74d412b..4aa31a1 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for DeleteInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteInstanceRequest( 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,42 +73,35 @@ private DeleteInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Instance to delete.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the Instance to delete.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other = - (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other = (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for DeleteInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) com.google.cloud.apigeeregistry.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest result = - new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest result = new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * 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 Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string 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 Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 0000000..9daaec0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Instance to delete.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Instance to delete.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java index e89e177..d64764d 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiDeploymentRequest} */ -public final class GetApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetApiDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) GetApiDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetApiDeploymentRequest.newBuilder() to construct. private GetApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetApiDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetApiDeploymentRequest( 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,42 +73,35 @@ private GetApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the deployment to retrieve.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the deployment to retrieve.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other = - (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest result = - new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the deployment to retrieve.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the deployment to retrieve.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the deployment to retrieve.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * 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 deployment to retrieve.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * string 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 deployment to retrieve.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java new file mode 100644 index 0000000..207f159 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the deployment to retrieve.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the deployment to retrieve.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java index 74258f3..8cda9e1 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiRequest} */ -public final class GetApiRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetApiRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiRequest) GetApiRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetApiRequest.newBuilder() to construct. private GetApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetApiRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetApiRequest( 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,42 +73,35 @@ private GetApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiRequest.class, com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the API to retrieve.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the API to retrieve.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiRequest other = - (com.google.cloud.apigeeregistry.v1.GetApiRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiRequest other = (com.google.cloud.apigeeregistry.v1.GetApiRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiRequest) com.google.cloud.apigeeregistry.v1.GetApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiRequest.class, com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiRequest.newBuilder() @@ -360,15 +324,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(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiRequest result = - new com.google.cloud.apigeeregistry.v1.GetApiRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiRequest result = new com.google.cloud.apigeeregistry.v1.GetApiRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetApiRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the API to retrieve.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string name = 1 [(.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; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the API to retrieve.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the API to retrieve.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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 API to retrieve.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string 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 API to retrieve.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java new file mode 100644 index 0000000..8224a30 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the API to retrieve.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the API to retrieve.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java index 1d9ca84..75c66b5 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetApiSpecContents.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest} */ -public final class GetApiSpecContentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetApiSpecContentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) GetApiSpecContentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetApiSpecContentsRequest.newBuilder() to construct. private GetApiSpecContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetApiSpecContentsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetApiSpecContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetApiSpecContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetApiSpecContentsRequest( 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,42 +73,35 @@ private GetApiSpecContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec whose contents should be retrieved.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the spec whose contents should be retrieved.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other = - (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other = (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetApiSpecContents.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest result = - new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest result = new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest)other); } else { super.mergeFrom(other); return this; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec whose contents should be retrieved.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.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; @@ -516,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec whose contents should be retrieved.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec whose contents should be retrieved.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * 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 spec whose contents should be retrieved.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string 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 spec whose contents should be retrieved.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * 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,13 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) - private static final com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(); } @@ -636,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiSpecContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiSpecContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiSpecContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiSpecContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java new file mode 100644 index 0000000..49e39e6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiSpecContentsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the spec whose contents should be retrieved.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the spec whose contents should be retrieved.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java index 51f74e8..9d2c34d 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecRequest} */ -public final class GetApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetApiSpecRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiSpecRequest) GetApiSpecRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetApiSpecRequest.newBuilder() to construct. private GetApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetApiSpecRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetApiSpecRequest( 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,42 +73,35 @@ private GetApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the spec to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other = - (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiSpecRequest) com.google.cloud.apigeeregistry.v1.GetApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.newBuilder() @@ -360,15 +324,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(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest result = - new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * 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 spec to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * string 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 spec to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * 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,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiSpecRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java new file mode 100644 index 0000000..94de445 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiSpecRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the spec to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the spec to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java index 14b1d33..792efd7 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiVersionRequest} */ -public final class GetApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetApiVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiVersionRequest) GetApiVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetApiVersionRequest.newBuilder() to construct. private GetApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetApiVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetApiVersionRequest( 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,42 +73,35 @@ private GetApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the version to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the version to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other = - (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiVersionRequest) com.google.cloud.apigeeregistry.v1.GetApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest result = - new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the version to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the version to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the version to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * 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 version to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string 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 version to retrieve.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java new file mode 100644 index 0000000..68a28f7 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiVersionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the version to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the version to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java index 28eb4cf..87cadef 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetArtifactContents.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactContentsRequest} */ -public final class GetArtifactContentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetArtifactContentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) GetArtifactContentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetArtifactContentsRequest.newBuilder() to construct. private GetArtifactContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetArtifactContentsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetArtifactContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetArtifactContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetArtifactContentsRequest( 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,42 +73,35 @@ private GetArtifactContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the artifact whose contents should be retrieved.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the artifact whose contents should be retrieved.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other = - (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) obj; + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other = (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetArtifactContents.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactContentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance(); } @@ -401,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest result = - new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(this); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest result = new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest)other); } else { super.mergeFrom(other); return this; @@ -452,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -492,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the artifact whose contents should be retrieved.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the artifact whose contents should be retrieved.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -542,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the artifact whose contents should be retrieved.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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 artifact whose contents should be retrieved.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string 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 artifact whose contents should be retrieved.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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); } @@ -622,13 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) - private static final com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(); } @@ -637,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java new file mode 100644 index 0000000..5d9e641 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetArtifactContentsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the artifact whose contents should be retrieved.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the artifact whose contents should be retrieved.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java index 7eb291c..0c53399 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactRequest} */ -public final class GetArtifactRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetArtifactRequest) GetArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetArtifactRequest.newBuilder() to construct. private GetArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetArtifactRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetArtifactRequest( 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,42 +73,35 @@ private GetArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the artifact to retrieve.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the artifact to retrieve.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetArtifactRequest other = - (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.GetArtifactRequest other = (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetArtifactRequest) com.google.cloud.apigeeregistry.v1.GetArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetArtifactRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetArtifactRequest result = - new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest result = new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the artifact to retrieve.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the artifact to retrieve.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the artifact to retrieve.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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 artifact to retrieve.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * string 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 artifact to retrieve.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.GetArtifactRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java new file mode 100644 index 0000000..479cb91 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the artifact to retrieve.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the artifact to retrieve.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java similarity index 66% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java index 150c45c..7c7373a 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for GetInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetInstanceRequest( 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,42 +73,35 @@ private GetInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Instance to retrieve.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,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; } } /** - * - * *
    * Required. The name of the Instance to retrieve.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetInstanceRequest other = - (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.GetInstanceRequest other = (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetInstanceRequest) com.google.cloud.apigeeregistry.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetInstanceRequest.newBuilder() @@ -361,15 +324,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(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.apigeeregistry.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetInstanceRequest result = - new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest result = new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.apigeeregistry.v1.GetInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string name = 1 [(.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,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string name = 1 [(.google.api.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,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * 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 Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * string 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 Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * - * 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); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java new file mode 100644 index 0000000..e9724db --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the Instance to retrieve.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the Instance to retrieve.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java similarity index 69% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java index 6de16ae..0fa2dd6 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * An Instance represents the instance resources of the Registry.
  * Currently, only one instance is allowed for each project.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance}
  */
-public final class Instance extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Instance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     state_ = 0;
@@ -46,15 +28,16 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Instance(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,81 +56,70 @@ private Instance(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              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 26:
-            {
-              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 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              stateMessage_ = s;
-              break;
-            }
-          case 50:
-            {
-              com.google.cloud.apigeeregistry.v1.Instance.Config.Builder subBuilder = null;
-              if (config_ != null) {
-                subBuilder = config_.toBuilder();
-              }
-              config_ =
-                  input.readMessage(
-                      com.google.cloud.apigeeregistry.v1.Instance.Config.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(config_);
-                config_ = subBuilder.buildPartial();
-              }
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              break;
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            stateMessage_ = s;
+            break;
+          }
+          case 50: {
+            com.google.cloud.apigeeregistry.v1.Instance.Config.Builder subBuilder = null;
+            if (config_ != null) {
+              subBuilder = config_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            config_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Instance.Config.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(config_);
+              config_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -155,41 +127,36 @@ private Instance(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
-        .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
-        .internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.Instance.class,
-            com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
+            com.google.cloud.apigeeregistry.v1.Instance.class, com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the Instance.
    * 
* * Protobuf enum {@code google.cloud.apigeeregistry.v1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -198,8 +165,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The Instance has not been initialized or has been deleted.
      * 
@@ -208,8 +173,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INACTIVE(1), /** - * - * *
      * The Instance is being created.
      * 
@@ -218,8 +181,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(2), /** - * - * *
      * The Instance has been created and is ready for use.
      * 
@@ -228,8 +189,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(3), /** - * - * *
      * The Instance is being updated.
      * 
@@ -238,8 +197,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UPDATING(4), /** - * - * *
      * The Instance is being deleted.
      * 
@@ -248,8 +205,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(5), /** - * - * *
      * The Instance encountered an error during a state change.
      * 
@@ -261,8 +216,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -271,8 +224,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The Instance has not been initialized or has been deleted.
      * 
@@ -281,8 +232,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INACTIVE_VALUE = 1; /** - * - * *
      * The Instance is being created.
      * 
@@ -291,8 +240,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 2; /** - * - * *
      * The Instance has been created and is ready for use.
      * 
@@ -301,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 3; /** - * - * *
      * The Instance is being updated.
      * 
@@ -311,8 +256,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATING_VALUE = 4; /** - * - * *
      * The Instance is being deleted.
      * 
@@ -321,8 +264,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 5; /** - * - * *
      * The Instance encountered an error during a state change.
      * 
@@ -331,6 +272,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -355,57 +297,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return INACTIVE; - case 2: - return CREATING; - case 3: - return ACTIVE; - case 4: - return UPDATING; - case 5: - return DELETING; - case 6: - return FAILED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return INACTIVE; + case 2: return CREATING; + case 3: return ACTIVE; + case 4: return UPDATING; + case 5: return DELETING; + case 6: return FAILED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.apigeeregistry.v1.Instance.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -422,39 +360,31 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.apigeeregistry.v1.Instance.State) } - public interface ConfigOrBuilder - extends + public interface ConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Instance.Config) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -463,13 +393,10 @@ public interface ConfigOrBuilder
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cmekKeyName. */ java.lang.String getCmekKeyName(); /** - * - * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -478,30 +405,27 @@ public interface ConfigOrBuilder
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cmekKeyName. */ - com.google.protobuf.ByteString getCmekKeyNameBytes(); + com.google.protobuf.ByteString + getCmekKeyNameBytes(); } /** - * - * *
    * Available configurations to provision an Instance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance.Config} */ - public static final class Config extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Config extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Instance.Config) ConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Config.newBuilder() to construct. private Config(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Config() { location_ = ""; cmekKeyName_ = ""; @@ -509,15 +433,16 @@ private Config() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Config(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Config( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -536,27 +461,25 @@ private Config( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - cmekKeyName_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + cmekKeyName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,39 +487,34 @@ private Config( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Instance.Config.class, - com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); + com.google.cloud.apigeeregistry.v1.Instance.Config.class, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object location_; /** - * - * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The location. */ @java.lang.Override @@ -605,29 +523,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -638,8 +556,6 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int CMEK_KEY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object cmekKeyName_; /** - * - * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -648,7 +564,6 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cmekKeyName. */ @java.lang.Override @@ -657,15 +572,14 @@ public java.lang.String getCmekKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cmekKeyName_ = s; return s; } } /** - * - * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -674,15 +588,16 @@ public java.lang.String getCmekKeyName() {
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cmekKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getCmekKeyNameBytes() { + public com.google.protobuf.ByteString + getCmekKeyNameBytes() { java.lang.Object ref = cmekKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cmekKeyName_ = b; return b; } else { @@ -691,7 +606,6 @@ public com.google.protobuf.ByteString getCmekKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -703,7 +617,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -733,16 +648,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Instance.Config)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Instance.Config other = - (com.google.cloud.apigeeregistry.v1.Instance.Config) obj; + com.google.cloud.apigeeregistry.v1.Instance.Config other = (com.google.cloud.apigeeregistry.v1.Instance.Config) obj; - if (!getLocation().equals(other.getLocation())) return false; - if (!getCmekKeyName().equals(other.getCmekKeyName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getCmekKeyName() + .equals(other.getCmekKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -764,93 +680,87 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Instance.Config prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -860,32 +770,27 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Available configurations to provision an Instance.
      * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance.Config} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Instance.Config) com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Instance.Config.class, - com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); + com.google.cloud.apigeeregistry.v1.Instance.Config.class, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder() @@ -893,15 +798,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(); @@ -913,9 +819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override @@ -934,8 +840,7 @@ public com.google.cloud.apigeeregistry.v1.Instance.Config build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.Config buildPartial() { - com.google.cloud.apigeeregistry.v1.Instance.Config result = - new com.google.cloud.apigeeregistry.v1.Instance.Config(this); + com.google.cloud.apigeeregistry.v1.Instance.Config result = new com.google.cloud.apigeeregistry.v1.Instance.Config(this); result.location_ = location_; result.cmekKeyName_ = cmekKeyName_; onBuilt(); @@ -946,41 +851,38 @@ public com.google.cloud.apigeeregistry.v1.Instance.Config buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.Instance.Config) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance.Config) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance.Config)other); } else { super.mergeFrom(other); return this; @@ -988,8 +890,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.Instance.Config other) { - if (other == com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance()) return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); @@ -1017,8 +918,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.Instance.Config) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.Instance.Config) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1030,20 +930,18 @@ public Builder mergeFrom( private java.lang.Object location_ = ""; /** - * - * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -1052,21 +950,20 @@ public java.lang.String getLocation() { } } /** - * - * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1074,61 +971,54 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1136,8 +1026,6 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object cmekKeyName_ = ""; /** - * - * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1146,13 +1034,13 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cmekKeyName. */ public java.lang.String getCmekKeyName() { java.lang.Object ref = cmekKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cmekKeyName_ = s; return s; @@ -1161,8 +1049,6 @@ public java.lang.String getCmekKeyName() { } } /** - * - * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1171,14 +1057,15 @@ public java.lang.String getCmekKeyName() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cmekKeyName. */ - public com.google.protobuf.ByteString getCmekKeyNameBytes() { + public com.google.protobuf.ByteString + getCmekKeyNameBytes() { java.lang.Object ref = cmekKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cmekKeyName_ = b; return b; } else { @@ -1186,8 +1073,6 @@ public com.google.protobuf.ByteString getCmekKeyNameBytes() { } } /** - * - * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1196,22 +1081,20 @@ public com.google.protobuf.ByteString getCmekKeyNameBytes() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cmekKeyName to set. * @return This builder for chaining. */ - public Builder setCmekKeyName(java.lang.String value) { + public Builder setCmekKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cmekKeyName_ = value; onChanged(); return this; } /** - * - * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1220,18 +1103,15 @@ public Builder setCmekKeyName(java.lang.String value) {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCmekKeyName() { - + cmekKeyName_ = getDefaultInstance().getCmekKeyName(); onChanged(); return this; } /** - * - * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1240,21 +1120,20 @@ public Builder clearCmekKeyName() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cmekKeyName to set. * @return This builder for chaining. */ - public Builder setCmekKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setCmekKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cmekKeyName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1267,12 +1146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Instance.Config) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Instance.Config) private static final com.google.cloud.apigeeregistry.v1.Instance.Config DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Instance.Config(); } @@ -1281,16 +1160,16 @@ public static com.google.cloud.apigeeregistry.v1.Instance.Config getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Config parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Config(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Config parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Config(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1305,20 +1184,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Instance.Config getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Format: `projects/*/locations/*/instance`.
-   * Currently only locations/global is supported.
+   * Currently only `locations/global` is supported.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1327,30 +1204,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; } } /** - * - * *
    * Format: `projects/*/locations/*/instance`.
-   * Currently only locations/global is supported.
+   * Currently only `locations/global` is supported.
    * 
* * 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 { @@ -1361,15 +1238,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -1377,15 +1250,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -1393,14 +1262,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1410,15 +1276,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1426,15 +1288,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1442,14 +1300,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1459,54 +1314,38 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * Output only. The current state of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.apigeeregistry.v1.Instance.State getState() { + @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.apigeeregistry.v1.Instance.State result = - com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); + com.google.cloud.apigeeregistry.v1.Instance.State result = com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object stateMessage_; /** - * - * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ @java.lang.Override @@ -1515,29 +1354,29 @@ public java.lang.String getStateMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; } } /** - * - * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -1548,16 +1387,11 @@ public com.google.protobuf.ByteString getStateMessageBytes() { public static final int CONFIG_FIELD_NUMBER = 6; private com.google.cloud.apigeeregistry.v1.Instance.Config config_; /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -1565,34 +1399,23 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.Config getConfig() { - return config_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; } /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder() { @@ -1600,7 +1423,6 @@ public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1612,7 +1434,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1644,19 +1467,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateTime()); } if (state_ != com.google.cloud.apigeeregistry.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, stateMessage_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1666,28 +1493,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.cloud.apigeeregistry.v1.Instance)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Instance other = - (com.google.cloud.apigeeregistry.v1.Instance) obj; + com.google.cloud.apigeeregistry.v1.Instance other = (com.google.cloud.apigeeregistry.v1.Instance) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage().equals(other.getStateMessage())) return false; + if (!getStateMessage() + .equals(other.getStateMessage())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1723,104 +1554,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An Instance represents the instance resources of the Registry.
    * Currently, only one instance is allowed for each project.
@@ -1828,23 +1652,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Instance)
       com.google.cloud.apigeeregistry.v1.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
-          .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
-          .internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.Instance.class,
-              com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
+              com.google.cloud.apigeeregistry.v1.Instance.class, com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.Instance.newBuilder()
@@ -1852,15 +1674,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();
@@ -1892,9 +1715,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
-          .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -1913,8 +1736,7 @@ public com.google.cloud.apigeeregistry.v1.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.Instance buildPartial() {
-      com.google.cloud.apigeeregistry.v1.Instance result =
-          new com.google.cloud.apigeeregistry.v1.Instance(this);
+      com.google.cloud.apigeeregistry.v1.Instance result = new com.google.cloud.apigeeregistry.v1.Instance(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -1941,39 +1763,38 @@ public com.google.cloud.apigeeregistry.v1.Instance buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.Instance) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance) other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2033,21 +1854,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Format: `projects/*/locations/*/instance`.
-     * Currently only locations/global is supported.
+     * Currently only `locations/global` is supported.
      * 
* * 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; @@ -2056,22 +1875,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Format: `projects/*/locations/*/instance`.
-     * Currently only locations/global is supported.
+     * Currently only `locations/global` is supported.
      * 
* * 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 { @@ -2079,64 +1897,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Format: `projects/*/locations/*/instance`.
-     * Currently only locations/global is supported.
+     * Currently only `locations/global` is supported.
      * 
* * 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; } /** - * - * *
      * Format: `projects/*/locations/*/instance`.
-     * Currently only locations/global is supported.
+     * Currently only `locations/global` is supported.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Format: `projects/*/locations/*/instance`.
-     * Currently only locations/global is supported.
+     * Currently only `locations/global` is supported.
      * 
* * 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; @@ -2144,58 +1955,39 @@ public Builder setNameBytes(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_; /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2211,17 +2003,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2232,21 +2021,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2258,15 +2043,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2280,64 +2061,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Creation timestamp.
      * 
* - * - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2345,58 +2110,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2412,17 +2158,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2433,21 +2176,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2459,15 +2198,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2481,64 +2216,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Last update timestamp.
      * 
* - * - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2546,75 +2265,51 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.apigeeregistry.v1.Instance.State result = - com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); - return result == null - ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED - : result; + com.google.cloud.apigeeregistry.v1.Instance.State result = com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); + return result == null ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2622,26 +2317,21 @@ public Builder setState(com.google.cloud.apigeeregistry.v1.Instance.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2649,20 +2339,18 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** - * - * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; @@ -2671,21 +2359,20 @@ public java.lang.String getStateMessage() { } } /** - * - * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString getStateMessageBytes() { + public com.google.protobuf.ByteString + getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -2693,61 +2380,54 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage(java.lang.String value) { + public Builder setStateMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** - * - * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -2755,58 +2435,39 @@ public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { private com.google.cloud.apigeeregistry.v1.Instance.Config config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, - com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, - com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> - configBuilder_; + com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> configBuilder_; /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public com.google.cloud.apigeeregistry.v1.Instance.Config getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() - : config_; + return config_ == null ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(com.google.cloud.apigeeregistry.v1.Instance.Config value) { if (configBuilder_ == null) { @@ -2822,15 +2483,11 @@ public Builder setConfig(com.google.cloud.apigeeregistry.v1.Instance.Config valu return this; } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( com.google.cloud.apigeeregistry.v1.Instance.Config.Builder builderForValue) { @@ -2844,23 +2501,17 @@ public Builder setConfig( return this; } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(com.google.cloud.apigeeregistry.v1.Instance.Config value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -2872,15 +2523,11 @@ public Builder mergeConfig(com.google.cloud.apigeeregistry.v1.Instance.Config va return this; } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -2894,71 +2541,55 @@ public Builder clearConfig() { return this; } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Instance.Config.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() - : config_; + return config_ == null ? + com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; } } /** - * - * *
      * Required. Config of the Instance.
      * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, - com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, - com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> + com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, - com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, - com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2968,12 +2599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Instance) private static final com.google.cloud.apigeeregistry.v1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Instance(); } @@ -2982,16 +2613,16 @@ public static com.google.cloud.apigeeregistry.v1.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3006,4 +2637,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java similarity index 100% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java similarity index 62% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java index d63b621..5f0c384 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java @@ -1,223 +1,151 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Format: `projects/*/locations/*/instance`.
-   * Currently only locations/global is supported.
+   * Currently only `locations/global` is supported.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Format: `projects/*/locations/*/instance`.
-   * Currently only locations/global is supported.
+   * Currently only `locations/global` is supported.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The current state of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.apigeeregistry.v1.Instance.State getState(); /** - * - * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stateMessage. */ java.lang.String getStateMessage(); /** - * - * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString getStateMessageBytes(); + com.google.protobuf.ByteString + getStateMessageBytes(); /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ com.google.cloud.apigeeregistry.v1.Instance.Config getConfig(); /** - * - * *
    * Required. Config of the Instance.
    * 
* - * - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java index b80c7aa..7b64b1e 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApiDeploymentRevisions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest} */ -public final class ListApiDeploymentRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiDeploymentRevisionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) ListApiDeploymentRevisionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiDeploymentRevisionsRequest.newBuilder() to construct. - private ListApiDeploymentRevisionsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListApiDeploymentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiDeploymentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -45,15 +26,16 @@ private ListApiDeploymentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiDeploymentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiDeploymentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +54,30 @@ private ListApiDeploymentRevisionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,41 +85,34 @@ private ListApiDeploymentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * - * string name = 1 [(.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 @@ -148,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -183,14 +154,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -201,15 +169,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -218,30 +183,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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 { @@ -250,7 +215,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -285,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -298,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,145 +300,134 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApiDeploymentRevisions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); } - // Construct using - // com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.newBuilder() + // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,16 +441,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - .getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance(); } @java.lang.Override @@ -507,8 +462,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest buil @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest result = - new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -520,51 +474,46 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest 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.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) { - return mergeFrom( - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other) { + if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -595,9 +544,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,22 +556,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * - * string name = 1 [(.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; @@ -633,23 +576,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -657,82 +597,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * - * 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 deployment to list revisions for.
      * 
* - * - * string 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 deployment to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of revisions to return per page.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -740,36 +664,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of revisions to return per page.
      * 
* * 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 revisions to return per page.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -777,21 +695,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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; @@ -800,22 +716,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 { @@ -823,71 +738,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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); } @@ -897,32 +805,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,8 +840,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java index 1f000e4..a264d1f 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java @@ -1,94 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentRevisionsRequestOrBuilder - extends +public interface ListApiDeploymentRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java similarity index 72% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java index 6d9af05..70ca202 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApiDeploymentRevisionsResponse.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse} */ -public final class ListApiDeploymentRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiDeploymentRevisionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) ListApiDeploymentRevisionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiDeploymentRevisionsResponse.newBuilder() to construct. - private ListApiDeploymentRevisionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListApiDeploymentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiDeploymentRevisionsResponse() { apiDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private ListApiDeploymentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiDeploymentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiDeploymentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,33 +55,28 @@ private ListApiDeploymentRevisionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apiDeployments_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiDeployments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiDeployments_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.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 ListApiDeploymentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiDeployments_ = java.util.Collections.unmodifiableList(apiDeployments_); @@ -116,27 +94,22 @@ private ListApiDeploymentRevisionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); } public static final int API_DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List apiDeployments_; /** - * - * *
    * The revisions of the deployment.
    * 
@@ -148,8 +121,6 @@ public java.util.List getApiDe return apiDeployments_; } /** - * - * *
    * The revisions of the deployment.
    * 
@@ -157,13 +128,11 @@ public java.util.List getApiDe * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiDeploymentsOrBuilderList() { return apiDeployments_; } /** - * - * *
    * The revisions of the deployment.
    * 
@@ -175,8 +144,6 @@ public int getApiDeploymentsCount() { return apiDeployments_.size(); } /** - * - * *
    * The revisions of the deployment.
    * 
@@ -188,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in return apiDeployments_.get(index); } /** - * - * *
    * The revisions of the deployment.
    * 
@@ -205,15 +170,12 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -254,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,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 < apiDeployments_.size(); i++) { output.writeMessage(1, apiDeployments_.get(i)); } @@ -283,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apiDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -296,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.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) obj; - if (!getApiDeploymentsList().equals(other.getApiDeploymentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApiDeploymentsList() + .equals(other.getApiDeploymentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,147 +293,135 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApiDeploymentRevisionsResponse.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); } - // Construct using - // com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.newBuilder() + // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getApiDeploymentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - .getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance(); } @java.lang.Override @@ -508,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse bui @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse result = - new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (apiDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -529,51 +478,46 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse 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.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) { - return mergeFrom( - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other) { + if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance()) return this; if (apiDeploymentsBuilder_ == null) { if (!other.apiDeployments_.isEmpty()) { if (apiDeployments_.isEmpty()) { @@ -592,10 +536,9 @@ public Builder mergeFrom( apiDeploymentsBuilder_ = null; apiDeployments_ = other.apiDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - apiDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApiDeploymentsFieldBuilder() - : null; + apiDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApiDeploymentsFieldBuilder() : null; } else { apiDeploymentsBuilder_.addAllMessages(other.apiDeployments_); } @@ -624,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -635,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List apiDeployments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApiDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = - new java.util.ArrayList( - apiDeployments_); + apiDeployments_ = new java.util.ArrayList(apiDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> - apiDeploymentsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentsBuilder_; /** - * - * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsList() { + public java.util.List getApiDeploymentsList() { if (apiDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(apiDeployments_); } else { @@ -674,8 +605,6 @@ private void ensureApiDeploymentsIsMutable() { } } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -690,8 +619,6 @@ public int getApiDeploymentsCount() { } } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -706,8 +633,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in } } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -729,8 +654,6 @@ public Builder setApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -749,8 +672,6 @@ public Builder setApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -771,8 +692,6 @@ public Builder addApiDeployments(com.google.cloud.apigeeregistry.v1.ApiDeploymen return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -794,8 +713,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -814,8 +731,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -834,8 +749,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -846,7 +759,8 @@ public Builder addAllApiDeployments( java.lang.Iterable values) { if (apiDeploymentsBuilder_ == null) { ensureApiDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apiDeployments_); onChanged(); } else { apiDeploymentsBuilder_.addAllMessages(values); @@ -854,8 +768,6 @@ public Builder addAllApiDeployments( return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -873,8 +785,6 @@ public Builder clearApiDeployments() { return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -892,8 +802,6 @@ public Builder removeApiDeployments(int index) { return this; } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -905,8 +813,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment return getApiDeploymentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -916,22 +822,19 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( int index) { if (apiDeploymentsBuilder_ == null) { - return apiDeployments_.get(index); - } else { + return apiDeployments_.get(index); } else { return apiDeploymentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsOrBuilderList() { + public java.util.List + getApiDeploymentsOrBuilderList() { if (apiDeploymentsBuilder_ != null) { return apiDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -939,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen } } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -948,12 +849,10 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder() { - return getApiDeploymentsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** - * - * *
      * The revisions of the deployment.
      * 
@@ -962,34 +861,26 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder( int index) { - return getApiDeploymentsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** - * - * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsBuilderList() { + public java.util.List + getApiDeploymentsBuilderList() { return getApiDeploymentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentsFieldBuilder() { if (apiDeploymentsBuilder_ == null) { - apiDeploymentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + apiDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( apiDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1001,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1024,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1047,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1121,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1158,8 +1037,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java index fdef27c..7c43762 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentRevisionsResponseOrBuilder - extends +public interface ListApiDeploymentRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List getApiDeploymentsList(); + java.util.List + getApiDeploymentsList(); /** - * - * *
    * The revisions of the deployment.
    * 
@@ -44,8 +25,6 @@ public interface ListApiDeploymentRevisionsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int index); /** - * - * *
    * The revisions of the deployment.
    * 
@@ -54,51 +33,43 @@ public interface ListApiDeploymentRevisionsResponseOrBuilder */ int getApiDeploymentsCount(); /** - * - * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List + java.util.List getApiDeploymentsOrBuilderList(); /** - * - * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( + int index); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java index ffd5c2e..90e15f3 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApiDeployments.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest} */ -public final class ListApiDeploymentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiDeploymentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) ListApiDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiDeploymentsRequest.newBuilder() to construct. private ListApiDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListApiDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListApiDeploymentsRequest( 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,42 +92,35 @@ private ListApiDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 @@ -156,32 +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; } } /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of deployments to return.
    * The service may return fewer than this value.
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,7 +317,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_); @@ -371,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApiDeployments.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.newBuilder() @@ -536,15 +492,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(); @@ -560,14 +517,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance(); } @@ -582,8 +538,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest result = - new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -596,39 +551,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest)other); } else { super.mergeFrom(other); return this; @@ -636,9 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -673,8 +625,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -686,23 +637,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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; @@ -711,24 +658,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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 { @@ -736,79 +680,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of deployments.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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 deployments to return.
      * The service may return fewer than this value.
@@ -817,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -825,8 +753,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of deployments to return.
      * The service may return fewer than this value.
@@ -835,19 +761,16 @@ public int getPageSize() {
      * 
* * 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 deployments to return.
      * The service may return fewer than this value.
@@ -856,11 +779,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -868,8 +790,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -878,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -893,8 +813,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -903,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -918,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -928,22 +845,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -952,18 +867,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -972,16 +884,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -989,21 +901,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -1012,22 +922,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -1035,71 +944,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } - @java.lang.Override - 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,13 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(); } @@ -1124,16 +1025,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java index eaddca9..21f5d58 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentsRequestOrBuilder - extends +public interface ListApiDeploymentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of deployments.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 deployments to return.
    * The service may return fewer than this value.
@@ -65,14 +38,11 @@ public interface ListApiDeploymentsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListApiDeploymentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -96,35 +63,30 @@ public interface ListApiDeploymentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java similarity index 75% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java index d99fb6c..5179502 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApiDeployments.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse} */ -public final class ListApiDeploymentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiDeploymentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) ListApiDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiDeploymentsResponse.newBuilder() to construct. private ListApiDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiDeploymentsResponse() { apiDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListApiDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListApiDeploymentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apiDeployments_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiDeployments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiDeployments_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.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 ListApiDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiDeployments_ = java.util.Collections.unmodifiableList(apiDeployments_); @@ -115,27 +94,22 @@ private ListApiDeploymentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); } public static final int API_DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List apiDeployments_; /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -147,8 +121,6 @@ public java.util.List getApiDe return apiDeployments_; } /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -156,13 +128,11 @@ public java.util.List getApiDe * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiDeploymentsOrBuilderList() { return apiDeployments_; } /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -174,8 +144,6 @@ public int getApiDeploymentsCount() { return apiDeployments_.size(); } /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -187,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in return apiDeployments_.get(index); } /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -204,15 +170,12 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < apiDeployments_.size(); i++) { output.writeMessage(1, apiDeployments_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apiDeployments_.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.cloud.apigeeregistry.v1.ListApiDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) obj; - if (!getApiDeploymentsList().equals(other.getApiDeploymentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApiDeploymentsList() + .equals(other.getApiDeploymentsList())) 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.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApiDeployments.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.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) { getApiDeploymentsFieldBuilder(); } } - @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.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse result = - new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (apiDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,39 +478,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse)other); } else { super.mergeFrom(other); return this; @@ -565,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance()) return this; if (apiDeploymentsBuilder_ == null) { if (!other.apiDeployments_.isEmpty()) { if (apiDeployments_.isEmpty()) { @@ -586,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRe apiDeploymentsBuilder_ = null; apiDeployments_ = other.apiDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - apiDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApiDeploymentsFieldBuilder() - : null; + apiDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApiDeploymentsFieldBuilder() : null; } else { apiDeploymentsBuilder_.addAllMessages(other.apiDeployments_); } @@ -618,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List apiDeployments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApiDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = - new java.util.ArrayList( - apiDeployments_); + apiDeployments_ = new java.util.ArrayList(apiDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> - apiDeploymentsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentsBuilder_; /** - * - * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsList() { + public java.util.List getApiDeploymentsList() { if (apiDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(apiDeployments_); } else { @@ -668,8 +605,6 @@ private void ensureApiDeploymentsIsMutable() { } } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -684,8 +619,6 @@ public int getApiDeploymentsCount() { } } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -700,8 +633,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in } } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -723,8 +654,6 @@ public Builder setApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -743,8 +672,6 @@ public Builder setApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -765,8 +692,6 @@ public Builder addApiDeployments(com.google.cloud.apigeeregistry.v1.ApiDeploymen return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -788,8 +713,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -808,8 +731,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -828,8 +749,6 @@ public Builder addApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -840,7 +759,8 @@ public Builder addAllApiDeployments( java.lang.Iterable values) { if (apiDeploymentsBuilder_ == null) { ensureApiDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apiDeployments_); onChanged(); } else { apiDeploymentsBuilder_.addAllMessages(values); @@ -848,8 +768,6 @@ public Builder addAllApiDeployments( return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -867,8 +785,6 @@ public Builder clearApiDeployments() { return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -886,8 +802,6 @@ public Builder removeApiDeployments(int index) { return this; } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -899,8 +813,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment return getApiDeploymentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -910,22 +822,19 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( int index) { if (apiDeploymentsBuilder_ == null) { - return apiDeployments_.get(index); - } else { + return apiDeployments_.get(index); } else { return apiDeploymentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsOrBuilderList() { + public java.util.List + getApiDeploymentsOrBuilderList() { if (apiDeploymentsBuilder_ != null) { return apiDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -933,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen } } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -942,12 +849,10 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder() { - return getApiDeploymentsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** - * - * *
      * The deployments from the specified publisher.
      * 
@@ -956,34 +861,26 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder( int index) { - return getApiDeploymentsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** - * - * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsBuilderList() { + public java.util.List + getApiDeploymentsBuilderList() { return getApiDeploymentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentsFieldBuilder() { if (apiDeploymentsBuilder_ == null) { - apiDeploymentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + apiDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( apiDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -995,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(); } @@ -1130,16 +1016,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java index e5085fd..cdd1a74 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentsResponseOrBuilder - extends +public interface ListApiDeploymentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List getApiDeploymentsList(); + java.util.List + getApiDeploymentsList(); /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -44,8 +25,6 @@ public interface ListApiDeploymentsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int index); /** - * - * *
    * The deployments from the specified publisher.
    * 
@@ -54,51 +33,43 @@ public interface ListApiDeploymentsResponseOrBuilder */ int getApiDeploymentsCount(); /** - * - * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List + java.util.List getApiDeploymentsOrBuilderList(); /** - * - * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java similarity index 67% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java index e9a0ea0..d33bacc 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApiSpecRevisions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest} */ -public final class ListApiSpecRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiSpecRevisionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) ListApiSpecRevisionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiSpecRevisionsRequest.newBuilder() to construct. private ListApiSpecRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiSpecRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListApiSpecRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiSpecRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiSpecRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListApiSpecRevisionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListApiSpecRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec to list revisions for.
    * 
* - * - * string name = 1 [(.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 @@ -147,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the spec to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,15 +169,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -217,30 +183,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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 { @@ -249,7 +215,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +226,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -284,7 +250,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -297,17 +264,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other = - (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApiSpecRevisions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.newBuilder() @@ -459,15 +418,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +441,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance(); } @@ -503,8 +462,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest result = - new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -516,39 +474,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest)other); } else { super.mergeFrom(other); return this; @@ -556,9 +513,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -589,9 +544,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,22 +556,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec to list revisions for.
      * 
* - * - * string name = 1 [(.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; @@ -627,23 +576,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -651,82 +597,66 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec to list revisions for.
      * 
* - * - * 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 spec to list revisions for.
      * 
* - * - * string 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 spec to list revisions for.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of revisions to return per page.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -734,36 +664,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of revisions to return per page.
      * 
* * 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 revisions to return per page.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -771,21 +695,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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; @@ -794,22 +716,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 { @@ -817,71 +738,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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); } @@ -891,32 +805,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,8 +840,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java index 203559c..dcb85ef 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java @@ -1,94 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecRevisionsRequestOrBuilder - extends +public interface ListApiSpecRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the spec to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the spec to list revisions for.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java similarity index 72% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java index 57b494f..d62dc44 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApiSpecRevisionsResponse.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse} */ -public final class ListApiSpecRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiSpecRevisionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) ListApiSpecRevisionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiSpecRevisionsResponse.newBuilder() to construct. private ListApiSpecRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiSpecRevisionsResponse() { apiSpecs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListApiSpecRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiSpecRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiSpecRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListApiSpecRevisionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiSpecs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apiSpecs_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiSpecs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiSpecs_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.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 ListApiSpecRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiSpecs_ = java.util.Collections.unmodifiableList(apiSpecs_); @@ -113,27 +94,22 @@ private ListApiSpecRevisionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); } public static final int API_SPECS_FIELD_NUMBER = 1; private java.util.List apiSpecs_; /** - * - * *
    * The revisions of the spec.
    * 
@@ -145,8 +121,6 @@ public java.util.List getApiSpecsLis return apiSpecs_; } /** - * - * *
    * The revisions of the spec.
    * 
@@ -154,13 +128,11 @@ public java.util.List getApiSpecsLis * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiSpecsOrBuilderList() { return apiSpecs_; } /** - * - * *
    * The revisions of the spec.
    * 
@@ -172,8 +144,6 @@ public int getApiSpecsCount() { return apiSpecs_.size(); } /** - * - * *
    * The revisions of the spec.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { return apiSpecs_.get(index); } /** - * - * *
    * The revisions of the spec.
    * 
@@ -194,22 +162,20 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index) { return apiSpecs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < apiSpecs_.size(); i++) { output.writeMessage(1, apiSpecs_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apiSpecs_.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.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other = - (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) obj; - if (!getApiSpecsList().equals(other.getApiSpecsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApiSpecsList() + .equals(other.getApiSpecsList())) 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.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApiSpecRevisionsResponse.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.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) { getApiSpecsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance(); } @@ -501,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse result = - new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(this); int from_bitField0_ = bitField0_; if (apiSpecsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,50 +478,46 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other) { - if (other - == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other) { + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance()) return this; if (apiSpecsBuilder_ == null) { if (!other.apiSpecs_.isEmpty()) { if (apiSpecs_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom( apiSpecsBuilder_ = null; apiSpecs_ = other.apiSpecs_; bitField0_ = (bitField0_ & ~0x00000001); - apiSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApiSpecsFieldBuilder() - : null; + apiSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApiSpecsFieldBuilder() : null; } else { apiSpecsBuilder_.addAllMessages(other.apiSpecs_); } @@ -616,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) 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 apiSpecs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApiSpecsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apiSpecs_ = new java.util.ArrayList(apiSpecs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> - apiSpecsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecsBuilder_; /** - * - * *
      * The revisions of the spec.
      * 
@@ -663,8 +605,6 @@ public java.util.List getApiSpecsLis } } /** - * - * *
      * The revisions of the spec.
      * 
@@ -679,8 +619,6 @@ public int getApiSpecsCount() { } } /** - * - * *
      * The revisions of the spec.
      * 
@@ -695,15 +633,14 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { } } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder setApiSpecs( + int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -737,8 +672,6 @@ public Builder setApiSpecs( return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -759,15 +692,14 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder addApiSpecs( + int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,15 +713,14 @@ public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec return this; } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder addApiSpecs( + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); apiSpecs_.add(builderForValue.build()); @@ -800,8 +731,6 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder bu return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -820,8 +749,6 @@ public Builder addApiSpecs( return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -832,7 +759,8 @@ public Builder addAllApiSpecs( java.lang.Iterable values) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apiSpecs_); onChanged(); } else { apiSpecsBuilder_.addAllMessages(values); @@ -840,8 +768,6 @@ public Builder addAllApiSpecs( return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -859,8 +785,6 @@ public Builder clearApiSpecs() { return this; } /** - * - * *
      * The revisions of the spec.
      * 
@@ -878,44 +802,39 @@ public Builder removeApiSpecs(int index) { return this; } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder( + int index) { return getApiSpecsFieldBuilder().getBuilder(index); } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index) { if (apiSpecsBuilder_ == null) { - return apiSpecs_.get(index); - } else { + return apiSpecs_.get(index); } else { return apiSpecsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsOrBuilderList() { + public java.util.List + getApiSpecsOrBuilderList() { if (apiSpecsBuilder_ != null) { return apiSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( } } /** - * - * *
      * The revisions of the spec.
      * 
@@ -932,48 +849,42 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder() { - return getApiSpecsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + return getApiSpecsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int index) { - return getApiSpecsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( + int index) { + return getApiSpecsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** - * - * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsBuilderList() { + public java.util.List + getApiSpecsBuilderList() { return getApiSpecsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecsFieldBuilder() { if (apiSpecsBuilder_ == null) { - apiSpecsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - apiSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + apiSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + apiSpecs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); apiSpecs_ = null; } return apiSpecsBuilder_; @@ -981,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1004,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1027,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java index aa8d811..d614627 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecRevisionsResponseOrBuilder - extends +public interface ListApiSpecRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List getApiSpecsList(); + java.util.List + getApiSpecsList(); /** - * - * *
    * The revisions of the spec.
    * 
@@ -44,8 +25,6 @@ public interface ListApiSpecRevisionsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index); /** - * - * *
    * The revisions of the spec.
    * 
@@ -54,51 +33,43 @@ public interface ListApiSpecRevisionsResponseOrBuilder */ int getApiSpecsCount(); /** - * - * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List + java.util.List getApiSpecsOrBuilderList(); /** - * - * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java index 9919299..edb074e 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApiSpecs.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsRequest} */ -public final class ListApiSpecsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiSpecsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) ListApiSpecsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiSpecsRequest.newBuilder() to construct. private ListApiSpecsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiSpecsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListApiSpecsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiSpecsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiSpecsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListApiSpecsRequest( 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,42 +92,35 @@ private ListApiSpecsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 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 @@ -156,32 +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; } } /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 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 { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of specs to return.
    * The service may return fewer than this value.
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * 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 { @@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,7 +317,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_); @@ -371,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other = - (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApiSpecs.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) com.google.cloud.apigeeregistry.v1.ListApiSpecsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.newBuilder() @@ -536,15 +492,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(); @@ -560,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override @@ -581,8 +538,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest result = - new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -595,39 +551,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest)other); } else { super.mergeFrom(other); return this; @@ -635,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -671,8 +625,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,23 +637,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 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; @@ -709,24 +658,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 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 { @@ -734,79 +680,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of specs.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * 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 specs to return.
      * The service may return fewer than this value.
@@ -815,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -823,8 +753,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of specs to return.
      * The service may return fewer than this value.
@@ -833,19 +761,16 @@ public int getPageSize() {
      * 
* * 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 specs to return.
      * The service may return fewer than this value.
@@ -854,11 +779,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -866,8 +790,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -876,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -891,8 +813,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -901,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -916,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -926,22 +845,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -950,18 +867,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -970,16 +884,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -987,21 +901,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; @@ -1010,22 +922,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 { @@ -1033,71 +944,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) private static final com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(); } @@ -1121,16 +1025,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java index 2a5001b..208db1f 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecsRequestOrBuilder - extends +public interface ListApiSpecsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of specs.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * string parent = 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 specs to return.
    * The service may return fewer than this value.
@@ -65,14 +38,11 @@ public interface ListApiSpecsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListApiSpecsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -96,35 +63,30 @@ public interface ListApiSpecsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java similarity index 74% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java index 3b3ae77..c48efb6 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApiSpecs.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsResponse} */ -public final class ListApiSpecsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiSpecsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) ListApiSpecsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiSpecsResponse.newBuilder() to construct. private ListApiSpecsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiSpecsResponse() { apiSpecs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListApiSpecsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiSpecsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiSpecsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListApiSpecsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiSpecs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apiSpecs_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiSpecs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiSpecs_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.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 ListApiSpecsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiSpecs_ = java.util.Collections.unmodifiableList(apiSpecs_); @@ -113,27 +94,22 @@ private ListApiSpecsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); } public static final int API_SPECS_FIELD_NUMBER = 1; private java.util.List apiSpecs_; /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -145,8 +121,6 @@ public java.util.List getApiSpecsLis return apiSpecs_; } /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -154,13 +128,11 @@ public java.util.List getApiSpecsLis * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiSpecsOrBuilderList() { return apiSpecs_; } /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -172,8 +144,6 @@ public int getApiSpecsCount() { return apiSpecs_.size(); } /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { return apiSpecs_.get(index); } /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -194,22 +162,20 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index) { return apiSpecs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < apiSpecs_.size(); i++) { output.writeMessage(1, apiSpecs_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apiSpecs_.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.cloud.apigeeregistry.v1.ListApiSpecsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other = - (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) obj; - if (!getApiSpecsList().equals(other.getApiSpecsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApiSpecsList() + .equals(other.getApiSpecsList())) 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.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApiSpecs.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) com.google.cloud.apigeeregistry.v1.ListApiSpecsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.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) { getApiSpecsFieldBuilder(); } } - @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.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse result = - new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(this); int from_bitField0_ = bitField0_; if (apiSpecsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance()) return this; if (apiSpecsBuilder_ == null) { if (!other.apiSpecs_.isEmpty()) { if (apiSpecs_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse apiSpecsBuilder_ = null; apiSpecs_ = other.apiSpecs_; bitField0_ = (bitField0_ & ~0x00000001); - apiSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApiSpecsFieldBuilder() - : null; + apiSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApiSpecsFieldBuilder() : null; } else { apiSpecsBuilder_.addAllMessages(other.apiSpecs_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) 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 apiSpecs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApiSpecsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apiSpecs_ = new java.util.ArrayList(apiSpecs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> - apiSpecsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecsBuilder_; /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -659,8 +605,6 @@ public java.util.List getApiSpecsLis } } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -675,8 +619,6 @@ public int getApiSpecsCount() { } } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -691,15 +633,14 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { } } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder setApiSpecs( + int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -733,8 +672,6 @@ public Builder setApiSpecs( return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -755,15 +692,14 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder addApiSpecs( + int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder addApiSpecs( + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); apiSpecs_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder bu return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -816,8 +749,6 @@ public Builder addApiSpecs( return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -828,7 +759,8 @@ public Builder addAllApiSpecs( java.lang.Iterable values) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apiSpecs_); onChanged(); } else { apiSpecsBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllApiSpecs( return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -855,8 +785,6 @@ public Builder clearApiSpecs() { return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -874,44 +802,39 @@ public Builder removeApiSpecs(int index) { return this; } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder( + int index) { return getApiSpecsFieldBuilder().getBuilder(index); } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index) { if (apiSpecsBuilder_ == null) { - return apiSpecs_.get(index); - } else { + return apiSpecs_.get(index); } else { return apiSpecsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsOrBuilderList() { + public java.util.List + getApiSpecsOrBuilderList() { if (apiSpecsBuilder_ != null) { return apiSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( } } /** - * - * *
      * The specs from the specified publisher.
      * 
@@ -928,48 +849,42 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder() { - return getApiSpecsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + return getApiSpecsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int index) { - return getApiSpecsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( + int index) { + return getApiSpecsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** - * - * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsBuilderList() { + public java.util.List + getApiSpecsBuilderList() { return getApiSpecsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecsFieldBuilder() { if (apiSpecsBuilder_ == null) { - apiSpecsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - apiSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + apiSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + apiSpecs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); apiSpecs_ = null; } return apiSpecsBuilder_; @@ -977,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) private static final com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java index 708a4ff..18aafc8 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecsResponseOrBuilder - extends +public interface ListApiSpecsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List getApiSpecsList(); + java.util.List + getApiSpecsList(); /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -44,8 +25,6 @@ public interface ListApiSpecsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index); /** - * - * *
    * The specs from the specified publisher.
    * 
@@ -54,51 +33,43 @@ public interface ListApiSpecsResponseOrBuilder */ int getApiSpecsCount(); /** - * - * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List + java.util.List getApiSpecsOrBuilderList(); /** - * - * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java index cf6972f..3ca4218 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApiVersions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsRequest} */ -public final class ListApiVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) ListApiVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiVersionsRequest.newBuilder() to construct. private ListApiVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListApiVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListApiVersionsRequest( 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,42 +92,35 @@ private ListApiVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 @@ -156,32 +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; } } /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 { @@ -192,8 +163,6 @@ 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.
    * The service may return fewer than this value.
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,7 +317,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_); @@ -371,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other = - (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApiVersions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) com.google.cloud.apigeeregistry.v1.ListApiVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.newBuilder() @@ -536,15 +492,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(); @@ -560,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override @@ -581,8 +538,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest result = - new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -595,39 +551,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -635,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -671,8 +625,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,23 +637,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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; @@ -709,24 +658,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 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 { @@ -734,79 +680,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of versions.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * - * 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 versions to return.
      * The service may return fewer than this value.
@@ -815,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -823,8 +753,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return.
      * The service may return fewer than this value.
@@ -833,19 +761,16 @@ public int getPageSize() {
      * 
* * 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.
      * The service may return fewer than this value.
@@ -854,11 +779,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -866,8 +790,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -876,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -891,8 +813,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -901,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -916,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -926,22 +845,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -950,18 +867,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -970,16 +884,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -987,21 +901,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -1010,22 +922,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -1033,71 +944,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) private static final com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(); } @@ -1121,16 +1025,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java index 9ed189c..e6b6283 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiVersionsRequestOrBuilder - extends +public interface ListApiVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of versions.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * - * string parent = 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 versions to return.
    * The service may return fewer than this value.
@@ -65,14 +38,11 @@ public interface ListApiVersionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListApiVersionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -96,35 +63,30 @@ public interface ListApiVersionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java similarity index 74% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java index 943260b..f0138d3 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApiVersions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsResponse} */ -public final class ListApiVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApiVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) ListApiVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApiVersionsResponse.newBuilder() to construct. private ListApiVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApiVersionsResponse() { apiVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListApiVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApiVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApiVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListApiVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiVersions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apiVersions_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiVersions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apiVersions_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.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 ListApiVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiVersions_ = java.util.Collections.unmodifiableList(apiVersions_); @@ -114,27 +94,22 @@ private ListApiVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); } public static final int API_VERSIONS_FIELD_NUMBER = 1; private java.util.List apiVersions_; /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -146,8 +121,6 @@ public java.util.List getApiVersi return apiVersions_; } /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -155,13 +128,11 @@ public java.util.List getApiVersi * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiVersionsOrBuilderList() { return apiVersions_; } /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -173,8 +144,6 @@ public int getApiVersionsCount() { return apiVersions_.size(); } /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { return apiVersions_.get(index); } /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -195,22 +162,20 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( + int index) { return apiVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < apiVersions_.size(); i++) { output.writeMessage(1, apiVersions_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apiVersions_.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.cloud.apigeeregistry.v1.ListApiVersionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other = - (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) obj; - if (!getApiVersionsList().equals(other.getApiVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApiVersionsList() + .equals(other.getApiVersionsList())) 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.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApiVersions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) com.google.cloud.apigeeregistry.v1.ListApiVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.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) { getApiVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse result = - new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(this); int from_bitField0_ = bitField0_; if (apiVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,39 +478,38 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -562,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance()) return this; if (apiVersionsBuilder_ == null) { if (!other.apiVersions_.isEmpty()) { if (apiVersions_.isEmpty()) { @@ -582,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsRespo apiVersionsBuilder_ = null; apiVersions_ = other.apiVersions_; bitField0_ = (bitField0_ & ~0x00000001); - apiVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApiVersionsFieldBuilder() - : null; + apiVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApiVersionsFieldBuilder() : null; } else { apiVersionsBuilder_.addAllMessages(other.apiVersions_); } @@ -614,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List apiVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApiVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiVersions_ = - new java.util.ArrayList(apiVersions_); + apiVersions_ = new java.util.ArrayList(apiVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> - apiVersionsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionsBuilder_; /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -661,8 +605,6 @@ public java.util.List getApiVersi } } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -677,8 +619,6 @@ public int getApiVersionsCount() { } } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -693,15 +633,14 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { } } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public Builder setApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { + public Builder setApiVersions( + int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +654,6 @@ public Builder setApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiV return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -735,8 +672,6 @@ public Builder setApiVersions( return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -757,15 +692,14 @@ public Builder addApiVersions(com.google.cloud.apigeeregistry.v1.ApiVersion valu return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public Builder addApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { + public Builder addApiVersions( + int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,8 +713,6 @@ public Builder addApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiV return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -799,8 +731,6 @@ public Builder addApiVersions( return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -819,8 +749,6 @@ public Builder addApiVersions( return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -831,7 +759,8 @@ public Builder addAllApiVersions( java.lang.Iterable values) { if (apiVersionsBuilder_ == null) { ensureApiVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apiVersions_); onChanged(); } else { apiVersionsBuilder_.addAllMessages(values); @@ -839,8 +768,6 @@ public Builder addAllApiVersions( return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -858,8 +785,6 @@ public Builder clearApiVersions() { return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -877,20 +802,17 @@ public Builder removeApiVersions(int index) { return this; } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuilder( + int index) { return getApiVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -900,22 +822,19 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuild public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( int index) { if (apiVersionsBuilder_ == null) { - return apiVersions_.get(index); - } else { + return apiVersions_.get(index); } else { return apiVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public java.util.List - getApiVersionsOrBuilderList() { + public java.util.List + getApiVersionsOrBuilderList() { if (apiVersionsBuilder_ != null) { return apiVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -923,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBu } } /** - * - * *
      * The versions from the specified publisher.
      * 
@@ -932,48 +849,42 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBu * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder() { - return getApiVersionsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); + return getApiVersionsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder(int index) { - return getApiVersionsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder( + int index) { + return getApiVersionsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); } /** - * - * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public java.util.List - getApiVersionsBuilderList() { + public java.util.List + getApiVersionsBuilderList() { return getApiVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionsFieldBuilder() { if (apiVersionsBuilder_ == null) { - apiVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - apiVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + apiVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + apiVersions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); apiVersions_ = null; } return apiVersionsBuilder_; @@ -981,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1004,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1027,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) private static final com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(); } @@ -1115,16 +1016,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java index 7340660..9e2e1a9 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiVersionsResponseOrBuilder - extends +public interface ListApiVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - java.util.List getApiVersionsList(); + java.util.List + getApiVersionsList(); /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -44,8 +25,6 @@ public interface ListApiVersionsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index); /** - * - * *
    * The versions from the specified publisher.
    * 
@@ -54,51 +33,43 @@ public interface ListApiVersionsResponseOrBuilder */ int getApiVersionsCount(); /** - * - * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - java.util.List + java.util.List getApiVersionsOrBuilderList(); /** - * - * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java similarity index 70% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java index 60b8692..bacfff4 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListApis.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisRequest} */ -public final class ListApisRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApisRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApisRequest) ListApisRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApisRequest.newBuilder() to construct. private ListApisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApisRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListApisRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListApisRequest( 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,42 +92,35 @@ private ListApisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisRequest.class, - com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisRequest.class, com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -156,32 +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; } } /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of APIs to return.
    * The service may return fewer than this value.
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,7 +317,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_); @@ -371,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApisRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApisRequest other = - (com.google.cloud.apigeeregistry.v1.ListApisRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApisRequest other = (com.google.cloud.apigeeregistry.v1.ListApisRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,126 +374,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListApis.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApisRequest) com.google.cloud.apigeeregistry.v1.ListApisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisRequest.class, - com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisRequest.class, com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApisRequest.newBuilder() @@ -535,15 +492,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 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override @@ -580,8 +538,7 @@ public com.google.cloud.apigeeregistry.v1.ListApisRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApisRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApisRequest result = - new com.google.cloud.apigeeregistry.v1.ListApisRequest(this); + com.google.cloud.apigeeregistry.v1.ListApisRequest result = new com.google.cloud.apigeeregistry.v1.ListApisRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -594,39 +551,38 @@ public com.google.cloud.apigeeregistry.v1.ListApisRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApisRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisRequest)other); } else { super.mergeFrom(other); return this; @@ -634,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -670,8 +625,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApisRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -683,23 +637,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -708,24 +658,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -733,79 +680,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of APIs.
-     * Format: projects/*/locations/*
+     * Format: `projects/*/locations/*`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of APIs to return.
      * The service may return fewer than this value.
@@ -814,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -822,8 +753,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of APIs to return.
      * The service may return fewer than this value.
@@ -832,19 +761,16 @@ public int getPageSize() {
      * 
* * 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 APIs to return.
      * The service may return fewer than this value.
@@ -853,11 +779,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -865,8 +790,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -875,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -890,8 +813,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -900,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -915,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -925,22 +845,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -949,18 +867,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -969,16 +884,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -986,21 +901,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -1009,22 +922,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -1032,71 +944,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApisRequest) private static final com.google.cloud.apigeeregistry.v1.ListApisRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApisRequest(); } @@ -1120,16 +1025,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApisRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApisRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1144,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java index 50acde8..236cced 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApisRequestOrBuilder - extends +public interface ListApisRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApisRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of APIs.
-   * Format: projects/*/locations/*
+   * Format: `projects/*/locations/*`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of APIs to return.
    * The service may return fewer than this value.
@@ -65,14 +38,11 @@ public interface ListApisRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListApisRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -96,35 +63,30 @@ public interface ListApisRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java similarity index 74% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java index df706c4..c01abf8 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListApis.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisResponse} */ -public final class ListApisResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListApisResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApisResponse) ListApisResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListApisResponse.newBuilder() to construct. private ListApisResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListApisResponse() { apis_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListApisResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListApisResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListApisResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListApisResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apis_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - apis_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apis_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + apis_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.Api.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 ListApisResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apis_ = java.util.Collections.unmodifiableList(apis_); @@ -113,27 +94,22 @@ private ListApisResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisResponse.class, - com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisResponse.class, com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); } public static final int APIS_FIELD_NUMBER = 1; private java.util.List apis_; /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -145,8 +121,6 @@ public java.util.List getApisList() { return apis_; } /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -154,13 +128,11 @@ public java.util.List getApisList() { * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApisOrBuilderList() { return apis_; } /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -172,8 +144,6 @@ public int getApisCount() { return apis_.size(); } /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { return apis_.get(index); } /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -194,22 +162,20 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( + int index) { return apis_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < apis_.size(); i++) { output.writeMessage(1, apis_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apis_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apis_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, apis_.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.cloud.apigeeregistry.v1.ListApisResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApisResponse other = - (com.google.cloud.apigeeregistry.v1.ListApisResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApisResponse other = (com.google.cloud.apigeeregistry.v1.ListApisResponse) obj; - if (!getApisList().equals(other.getApisList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getApisList() + .equals(other.getApisList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,126 +293,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApisResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListApis.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApisResponse) com.google.cloud.apigeeregistry.v1.ListApisResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisResponse.class, - com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisResponse.class, com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApisResponse.newBuilder() @@ -452,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) { getApisFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override @@ -499,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListApisResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApisResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApisResponse result = - new com.google.cloud.apigeeregistry.v1.ListApisResponse(this); + com.google.cloud.apigeeregistry.v1.ListApisResponse result = new com.google.cloud.apigeeregistry.v1.ListApisResponse(this); int from_bitField0_ = bitField0_; if (apisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -520,39 +478,38 @@ public com.google.cloud.apigeeregistry.v1.ListApisResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApisResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisResponse)other); } else { super.mergeFrom(other); return this; @@ -560,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance()) return this; if (apisBuilder_ == null) { if (!other.apis_.isEmpty()) { if (apis_.isEmpty()) { @@ -580,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisResponse oth apisBuilder_ = null; apis_ = other.apis_; bitField0_ = (bitField0_ & ~0x00000001); - apisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getApisFieldBuilder() - : null; + apisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getApisFieldBuilder() : null; } else { apisBuilder_.addAllMessages(other.apis_); } @@ -612,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListApisResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApisResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List apis_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureApisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apis_ = new java.util.ArrayList(apis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> - apisBuilder_; + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apisBuilder_; /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -658,8 +605,6 @@ public java.util.List getApisList() { } } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -674,8 +619,6 @@ public int getApisCount() { } } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -690,15 +633,14 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { } } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder setApis(int index, com.google.cloud.apigeeregistry.v1.Api value) { + public Builder setApis( + int index, com.google.cloud.apigeeregistry.v1.Api value) { if (apisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +654,6 @@ public Builder setApis(int index, com.google.cloud.apigeeregistry.v1.Api value) return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -732,8 +672,6 @@ public Builder setApis( return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -754,15 +692,14 @@ public Builder addApis(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder addApis(int index, com.google.cloud.apigeeregistry.v1.Api value) { + public Builder addApis( + int index, com.google.cloud.apigeeregistry.v1.Api value) { if (apisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,15 +713,14 @@ public Builder addApis(int index, com.google.cloud.apigeeregistry.v1.Api value) return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder addApis(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder addApis( + com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apisBuilder_ == null) { ensureApisIsMutable(); apis_.add(builderForValue.build()); @@ -795,8 +731,6 @@ public Builder addApis(com.google.cloud.apigeeregistry.v1.Api.Builder builderFor return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -815,8 +749,6 @@ public Builder addApis( return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -827,7 +759,8 @@ public Builder addAllApis( java.lang.Iterable values) { if (apisBuilder_ == null) { ensureApisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apis_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, apis_); onChanged(); } else { apisBuilder_.addAllMessages(values); @@ -835,8 +768,6 @@ public Builder addAllApis( return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -854,8 +785,6 @@ public Builder clearApis() { return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -873,44 +802,39 @@ public Builder removeApis(int index) { return this; } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.Api.Builder getApisBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.Api.Builder getApisBuilder( + int index) { return getApisFieldBuilder().getBuilder(index); } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( + int index) { if (apisBuilder_ == null) { - return apis_.get(index); - } else { + return apis_.get(index); } else { return apisBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public java.util.List - getApisOrBuilderList() { + public java.util.List + getApisOrBuilderList() { if (apisBuilder_ != null) { return apisBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int inde } } /** - * - * *
      * The APIs from the specified publisher.
      * 
@@ -927,47 +849,42 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int inde * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder() { - return getApisFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); + return getApisFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder(int index) { - return getApisFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder( + int index) { + return getApisFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); } /** - * - * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public java.util.List getApisBuilderList() { + public java.util.List + getApisBuilderList() { return getApisFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApisFieldBuilder() { if (apisBuilder_ == null) { - apisBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - apis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + apisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + apis_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); apis_ = null; } return apisBuilder_; @@ -975,21 +892,19 @@ public java.util.List getApisBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -998,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1021,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1095,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApisResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApisResponse) private static final com.google.cloud.apigeeregistry.v1.ListApisResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApisResponse(); } @@ -1109,16 +1016,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApisResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApisResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApisResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApisResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApisResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1133,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApisResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java index cff48a2..2d531a5 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApisResponseOrBuilder - extends +public interface ListApisResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApisResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - java.util.List getApisList(); + java.util.List + getApisList(); /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -44,8 +25,6 @@ public interface ListApisResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.Api getApis(int index); /** - * - * *
    * The APIs from the specified publisher.
    * 
@@ -54,50 +33,43 @@ public interface ListApisResponseOrBuilder */ int getApisCount(); /** - * - * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - java.util.List getApisOrBuilderList(); + java.util.List + getApisOrBuilderList(); /** - * - * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java similarity index 71% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java index 82277e0..481e536 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ListArtifacts.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsRequest} */ -public final class ListArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListArtifactsRequest) ListArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListArtifactsRequest.newBuilder() to construct. private ListArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListArtifactsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +27,16 @@ private ListArtifactsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListArtifactsRequest( 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,42 +92,35 @@ private ListArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 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 @@ -156,32 +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; } } /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 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 { @@ -192,8 +163,6 @@ 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.
    * The service may return fewer than this value.
@@ -202,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -213,8 +181,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +189,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +197,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -249,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -268,15 +233,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -285,30 +247,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * 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 { @@ -317,7 +279,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +290,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -355,7 +317,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_); @@ -371,18 +334,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other = - (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other = (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ListArtifacts.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListArtifactsRequest) com.google.cloud.apigeeregistry.v1.ListArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.newBuilder() @@ -536,15 +492,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(); @@ -560,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override @@ -581,8 +538,7 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest result = - new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(this); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest result = new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -595,39 +551,38 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest)other); } else { super.mergeFrom(other); return this; @@ -635,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -671,8 +625,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,23 +637,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 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; @@ -709,24 +658,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 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 { @@ -734,79 +680,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent, which owns this collection of artifacts.
-     * Format: {parent}
+     * Format: `{parent}`
      * 
* - * - * 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 artifacts to return.
      * The service may return fewer than this value.
@@ -815,7 +746,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -823,8 +753,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of artifacts to return.
      * The service may return fewer than this value.
@@ -833,19 +761,16 @@ public int getPageSize() {
      * 
* * 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.
      * The service may return fewer than this value.
@@ -854,11 +779,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -866,8 +790,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -876,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -891,8 +813,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -901,14 +821,15 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -916,8 +837,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -926,22 +845,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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; } /** - * - * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -950,18 +867,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -970,16 +884,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -987,21 +901,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; @@ -1010,22 +922,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 { @@ -1033,71 +944,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +1011,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListArtifactsRequest) private static final com.google.cloud.apigeeregistry.v1.ListArtifactsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(); } @@ -1121,16 +1025,16 @@ public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java index 6cb5d0d..111dbbb 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListArtifactsRequestOrBuilder - extends +public interface ListArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent, which owns this collection of artifacts.
-   * Format: {parent}
+   * Format: `{parent}`
    * 
* - * - * string parent = 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 artifacts to return.
    * The service may return fewer than this value.
@@ -65,14 +38,11 @@ public interface ListArtifactsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListArtifactsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -96,35 +63,30 @@ public interface ListArtifactsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java similarity index 74% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java index 3413795..49972c4 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Response message for ListArtifacts.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsResponse} */ -public final class ListArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListArtifactsResponse) ListArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListArtifactsResponse.newBuilder() to construct. private ListArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListArtifactsResponse() { artifacts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - artifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - artifacts_.add( - input.readMessage( - com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + artifacts_.add( + input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.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 ListArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { artifacts_ = java.util.Collections.unmodifiableList(artifacts_); @@ -113,27 +94,22 @@ private ListArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); } public static final int ARTIFACTS_FIELD_NUMBER = 1; private java.util.List artifacts_; /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -145,8 +121,6 @@ public java.util.List getArtifactsL return artifacts_; } /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -154,13 +128,11 @@ public java.util.List getArtifactsL * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getArtifactsOrBuilderList() { return artifacts_; } /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -172,8 +144,6 @@ public int getArtifactsCount() { return artifacts_.size(); } /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { return artifacts_.get(index); } /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -194,22 +162,20 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { return artifacts_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -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; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -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 < artifacts_.size(); i++) { output.writeMessage(1, artifacts_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < artifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, artifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, artifacts_.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.cloud.apigeeregistry.v1.ListArtifactsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other = - (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other = (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) obj; - if (!getArtifactsList().equals(other.getArtifactsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getArtifactsList() + .equals(other.getArtifactsList())) 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.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for ListArtifacts.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListArtifactsResponse) com.google.cloud.apigeeregistry.v1.ListArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.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) { getArtifactsFieldBuilder(); } } - @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.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse result = - new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(this); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse result = new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(this); int from_bitField0_ = bitField0_; if (artifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance()) return this; if (artifactsBuilder_ == null) { if (!other.artifacts_.isEmpty()) { if (artifacts_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsRespons artifactsBuilder_ = null; artifacts_ = other.artifacts_; bitField0_ = (bitField0_ & ~0x00000001); - artifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getArtifactsFieldBuilder() - : null; + artifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getArtifactsFieldBuilder() : null; } else { artifactsBuilder_.addAllMessages(other.artifacts_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List artifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - artifacts_ = - new java.util.ArrayList(artifacts_); + artifacts_ = new java.util.ArrayList(artifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> - artifactsBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactsBuilder_; /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -660,8 +605,6 @@ public java.util.List getArtifactsL } } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -676,8 +619,6 @@ public int getArtifactsCount() { } } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -692,15 +633,14 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { } } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public Builder setArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifact value) { + public Builder setArtifacts( + int index, com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -714,8 +654,6 @@ public Builder setArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifa return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -734,8 +672,6 @@ public Builder setArtifacts( return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -756,15 +692,14 @@ public Builder addArtifacts(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public Builder addArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifact value) { + public Builder addArtifacts( + int index, com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -778,8 +713,6 @@ public Builder addArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifa return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -798,8 +731,6 @@ public Builder addArtifacts( return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -818,8 +749,6 @@ public Builder addArtifacts( return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -830,7 +759,8 @@ public Builder addAllArtifacts( java.lang.Iterable values) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, artifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, artifacts_); onChanged(); } else { artifactsBuilder_.addAllMessages(values); @@ -838,8 +768,6 @@ public Builder addAllArtifacts( return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -857,8 +785,6 @@ public Builder clearArtifacts() { return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -876,44 +802,39 @@ public Builder removeArtifacts(int index) { return this; } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactsBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactsBuilder( + int index) { return getArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index) { + public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( + int index) { if (artifactsBuilder_ == null) { - return artifacts_.get(index); - } else { + return artifacts_.get(index); } else { return artifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public java.util.List - getArtifactsOrBuilderList() { + public java.util.List + getArtifactsOrBuilderList() { if (artifactsBuilder_ != null) { return artifactsBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +842,6 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilde } } /** - * - * *
      * The artifacts from the specified publisher.
      * 
@@ -930,48 +849,42 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilde * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder() { - return getArtifactsFieldBuilder() - .addBuilder(com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); + return getArtifactsFieldBuilder().addBuilder( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder(int index) { - return getArtifactsFieldBuilder() - .addBuilder(index, com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder( + int index) { + return getArtifactsFieldBuilder().addBuilder( + index, com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); } /** - * - * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public java.util.List - getArtifactsBuilderList() { + public java.util.List + getArtifactsBuilderList() { return getArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactsFieldBuilder() { if (artifactsBuilder_ == null) { - artifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - artifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + artifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); artifacts_ = null; } return artifactsBuilder_; @@ -979,21 +892,19 @@ public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1002,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1025,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListArtifactsResponse) private static final com.google.cloud.apigeeregistry.v1.ListArtifactsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(); } @@ -1113,16 +1016,16 @@ public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1137,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java index e53284e..6e15863 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListArtifactsResponseOrBuilder - extends +public interface ListArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - java.util.List getArtifactsList(); + java.util.List + getArtifactsList(); /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -44,8 +25,6 @@ public interface ListArtifactsResponseOrBuilder */ com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index); /** - * - * *
    * The artifacts from the specified publisher.
    * 
@@ -54,51 +33,43 @@ public interface ListArtifactsResponseOrBuilder */ int getArtifactsCount(); /** - * - * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - java.util.List + java.util.List getArtifactsOrBuilderList(); /** - * - * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index); + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java similarity index 100% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java similarity index 73% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java index d71e25b..26d783d 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,15 +28,16 @@ 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) @@ -73,76 +56,68 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - 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 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + 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(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - cancellationRequested_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { + + cancellationRequested_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,39 +125,34 @@ 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.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.OperationMetadata.class, - com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); + com.google.cloud.apigeeregistry.v1.OperationMetadata.class, com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -190,14 +160,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -205,8 +172,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -221,14 +186,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -236,14 +198,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -251,8 +210,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -267,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -283,29 +237,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -316,14 +270,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -332,29 +283,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -365,14 +316,11 @@ public com.google.protobuf.ByteString getVerbBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; - * * @return The statusMessage. */ @java.lang.Override @@ -381,29 +329,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -414,8 +362,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int CANCELLATION_REQUESTED_FIELD_NUMBER = 6; private boolean cancellationRequested_; /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -424,7 +370,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool cancellation_requested = 6; - * * @return The cancellationRequested. */ @java.lang.Override @@ -435,14 +380,11 @@ public boolean getCancellationRequested() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ @java.lang.Override @@ -451,29 +393,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -482,7 +424,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -494,7 +435,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -526,10 +468,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -541,7 +485,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (cancellationRequested_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancellationRequested_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, cancellationRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -554,27 +499,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.OperationMetadata other = - (com.google.cloud.apigeeregistry.v1.OperationMetadata) obj; + com.google.cloud.apigeeregistry.v1.OperationMetadata other = (com.google.cloud.apigeeregistry.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getCancellationRequested() != other.getCancellationRequested()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getCancellationRequested() + != other.getCancellationRequested()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -601,7 +552,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + CANCELLATION_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancellationRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCancellationRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -610,126 +562,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.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.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.OperationMetadata) com.google.cloud.apigeeregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.OperationMetadata.class, - com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); + com.google.cloud.apigeeregistry.v1.OperationMetadata.class, com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.OperationMetadata.newBuilder() @@ -737,15 +680,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(); @@ -775,9 +719,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto - .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -796,8 +740,7 @@ public com.google.cloud.apigeeregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.OperationMetadata buildPartial() { - com.google.cloud.apigeeregistry.v1.OperationMetadata result = - new com.google.cloud.apigeeregistry.v1.OperationMetadata(this); + com.google.cloud.apigeeregistry.v1.OperationMetadata result = new com.google.cloud.apigeeregistry.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -821,39 +764,38 @@ public com.google.cloud.apigeeregistry.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.cloud.apigeeregistry.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -861,8 +803,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.OperationMetadata other) { - if (other == com.google.cloud.apigeeregistry.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -907,8 +848,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -920,47 +860,34 @@ public Builder mergeFrom( 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 the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @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 the operation was created.
      * 
@@ -981,15 +908,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -1000,8 +926,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1012,7 +936,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; } @@ -1024,8 +948,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1044,8 +966,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1053,13 +973,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1070,14 +988,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 the operation was created.
      * 
@@ -1085,17 +1000,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1103,33 +1015,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1140,8 +1043,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1162,15 +1063,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1181,8 +1081,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1193,7 +1091,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1205,8 +1103,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1225,8 +1121,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1234,13 +1128,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1251,12 +1143,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1264,17 +1155,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1282,20 +1170,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1304,21 +1190,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1326,61 +1211,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1388,20 +1266,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1410,21 +1286,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1432,61 +1307,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1494,20 +1362,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1516,21 +1382,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1538,70 +1403,61 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean cancellationRequested_; + private boolean cancellationRequested_ ; /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1610,7 +1466,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool cancellation_requested = 6; - * * @return The cancellationRequested. */ @java.lang.Override @@ -1618,8 +1473,6 @@ public boolean getCancellationRequested() { return cancellationRequested_; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1628,19 +1481,16 @@ public boolean getCancellationRequested() {
      * 
* * bool cancellation_requested = 6; - * * @param value The cancellationRequested to set. * @return This builder for chaining. */ public Builder setCancellationRequested(boolean value) { - + cancellationRequested_ = value; onChanged(); return this; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1649,11 +1499,10 @@ public Builder setCancellationRequested(boolean value) {
      * 
* * bool cancellation_requested = 6; - * * @return This builder for chaining. */ public Builder clearCancellationRequested() { - + cancellationRequested_ = false; onChanged(); return this; @@ -1661,20 +1510,18 @@ public Builder clearCancellationRequested() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1683,21 +1530,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1705,68 +1551,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { + public Builder setApiVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** - * - * *
      * API version used to start the operation.
      * 
* * string api_version = 7; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1776,12 +1615,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.OperationMetadata) private static final com.google.cloud.apigeeregistry.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.OperationMetadata(); } @@ -1790,16 +1629,16 @@ public static com.google.cloud.apigeeregistry.v1.OperationMetadata getDefaultIns 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; @@ -1814,4 +1653,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java index a26bea3..6c83927 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time the operation was created.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,83 +62,66 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -179,33 +130,27 @@ public interface OperationMetadataOrBuilder
    * 
* * bool cancellation_requested = 6; - * * @return The cancellationRequested. */ boolean getCancellationRequested(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * API version used to start the operation.
    * 
* * string api_version = 7; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java new file mode 100644 index 0000000..f5117eb --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java @@ -0,0 +1,184 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public final class ProvisioningServiceProto { + private ProvisioningServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_Instance_Config_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/cloud/apigeeregistry/v1/provisi" + + "oning_service.proto\022\036google.cloud.apigee" + + "registry.v1\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032#google/longrunning/operations.pr" + + "oto\032\037google/protobuf/timestamp.proto\"\255\001\n" + + "\025CreateInstanceRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\022?\n\010instance\030" + + "\003 \001(\0132(.google.cloud.apigeeregistry.v1.I" + + "nstanceB\003\340A\002\"U\n\025DeleteInstanceRequest\022<\n" + + "\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.goog" + + "leapis.com/Instance\"R\n\022GetInstanceReques" + + "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry." + + "googleapis.com/Instance\"\335\001\n\021OperationMet" + + "adata\022/\n\013create_time\030\001 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004" + + "verb\030\004 \001(\t\022\026\n\016status_message\030\005 \001(\t\022\036\n\026ca" + + "ncellation_requested\030\006 \001(\010\022\023\n\013api_versio" + + "n\030\007 \001(\t\"\302\004\n\010Instance\022\014\n\004name\030\001 \001(\t\0224\n\013cr" + + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022B\n\005state\030\004 \001(\0162.." + + "google.cloud.apigeeregistry.v1.Instance." + + "StateB\003\340A\003\022\032\n\rstate_message\030\005 \001(\tB\003\340A\003\022D" + + "\n\006config\030\006 \001(\0132/.google.cloud.apigeeregi" + + "stry.v1.Instance.ConfigB\003\340A\002\032;\n\006Config\022\025" + + "\n\010location\030\001 \001(\tB\003\340A\003\022\032\n\rcmek_key_name\030\002" + + " \001(\tB\003\340A\002\"n\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + + "\000\022\014\n\010INACTIVE\020\001\022\014\n\010CREATING\020\002\022\n\n\006ACTIVE\020" + + "\003\022\014\n\010UPDATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020" + + "\006:i\352Af\n&apigeeregistry.googleapis.com/In" + + "stance\022.google.cloud.apige" + + "eregistry.v1.ApiDeployment.AnnotationsEn" + + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:}\352Az\n+apigeeregis" + + "try.googleapis.com/ApiDeployment\022Kprojec" + + "ts/{project}/locations/{location}/apis/{" + + "api}/deployments/{deployment}\"\267\005\n\010Artifa" + + "ct\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022\021\n\tmime_type\030\004 \001(\t\022\027\n\nsize_bytes\030\005 " + + "\001(\005B\003\340A\003\022\021\n\004hash\030\006 \001(\tB\003\340A\003\022\025\n\010contents\030" + + "\007 \001(\014B\003\340A\004:\332\003\352A\326\003\n&apigeeregistry.google" + + "apis.com/Artifact\022\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + + "apigeeregistry.googleapis.com/ApiVersion" + + "\"\276\001\n\027CreateApiVersionRequest\022@\n\006parent\030\001" + + " \001(\tB0\340A\002\372A*\022(apigeeregistry.googleapis." + + "com/ApiVersion\022D\n\013api_version\030\002 \001(\0132*.go" + + "ogle.cloud.apigeeregistry.v1.ApiVersionB" + + "\003\340A\002\022\033\n\016api_version_id\030\003 \001(\tB\003\340A\002\"\247\001\n\027Up" + + "dateApiVersionRequest\022D\n\013api_version\030\001 \001" + + "(\0132*.google.cloud.apigeeregistry.v1.ApiV" + + "ersionB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMask\022\025\n\rallow_missing\030\003 " + + "\001(\010\"h\n\027DeleteApiVersionRequest\022>\n\004name\030\001" + + " \001(\tB0\340A\002\372A*\n(apigeeregistry.googleapis." + + "com/ApiVersion\022\r\n\005force\030\002 \001(\010\"\213\001\n\023ListAp" + + "iSpecsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%a" + + "pigeeregistry.googleapis.com/ApiSpec\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + + "ilter\030\004 \001(\t\"k\n\024ListApiSpecsResponse\022:\n\ta" + + "pi_specs\030\001 \003(\0132\'.google.cloud.apigeeregi" + + "stry.v1.ApiSpec\022\027\n\017next_page_token\030\002 \001(\t" + + "\"P\n\021GetApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + + "\372A\'\n%apigeeregistry.googleapis.com/ApiSp" + + "ec\"X\n\031GetApiSpecContentsRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + + ".com/ApiSpec\"\257\001\n\024CreateApiSpecRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%apigeeregistry.go" + + "ogleapis.com/ApiSpec\022>\n\010api_spec\030\002 \001(\0132\'" + + ".google.cloud.apigeeregistry.v1.ApiSpecB" + + "\003\340A\002\022\030\n\013api_spec_id\030\003 \001(\tB\003\340A\002\"\236\001\n\024Updat" + + "eApiSpecRequest\022>\n\010api_spec\030\001 \001(\0132\'.goog" + + "le.cloud.apigeeregistry.v1.ApiSpecB\003\340A\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\022\025\n\rallow_missing\030\003 \001(\010\"b\n\024Delet" + + "eApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + + "pigeeregistry.googleapis.com/ApiSpec\022\r\n\005" + + "force\030\002 \001(\010\"j\n\031TagApiSpecRevisionRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.g" + + "oogleapis.com/ApiSpec\022\020\n\003tag\030\002 \001(\tB\003\340A\002\"" + + "\201\001\n\033ListApiSpecRevisionsRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + + ".com/ApiSpec\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"s\n\034ListApiSpecRevisionsRespo" + + "nse\022:\n\tapi_specs\030\001 \003(\0132\'.google.cloud.ap" + + "igeeregistry.v1.ApiSpec\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"o\n\026RollbackApiSpecRequest\022;\n\004na" + + "me\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googlea" + + "pis.com/ApiSpec\022\030\n\013revision_id\030\002 \001(\tB\003\340A" + + "\002\"[\n\034DeleteApiSpecRevisionRequest\022;\n\004nam" + + "e\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleap" + + "is.com/ApiSpec\"\227\001\n\031ListApiDeploymentsReq" + + "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" + + "er\030\004 \001(\t\"}\n\032ListApiDeploymentsResponse\022F" + + "\n\017api_deployments\030\001 \003(\0132-.google.cloud.a" + + "pigeeregistry.v1.ApiDeployment\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"\\\n\027GetApiDeploymentReque" + + "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry" + + ".googleapis.com/ApiDeployment\"\315\001\n\032Create" + + "ApiDeploymentRequest\022C\n\006parent\030\001 \001(\tB3\340A" + + "\002\372A-\022+apigeeregistry.googleapis.com/ApiD" + + "eployment\022J\n\016api_deployment\030\002 \001(\0132-.goog" + + "le.cloud.apigeeregistry.v1.ApiDeployment" + + "B\003\340A\002\022\036\n\021api_deployment_id\030\003 \001(\tB\003\340A\002\"\260\001" + + "\n\032UpdateApiDeploymentRequest\022J\n\016api_depl" + + "oyment\030\001 \001(\0132-.google.cloud.apigeeregist" + + "ry.v1.ApiDeploymentB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\022\025\n\rall" + + "ow_missing\030\003 \001(\010\"n\n\032DeleteApiDeploymentR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\r\n\005for" + + "ce\030\002 \001(\010\"v\n\037TagApiDeploymentRevisionRequ" + + "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistr" + + "y.googleapis.com/ApiDeployment\022\020\n\003tag\030\002 " + + "\001(\tB\003\340A\002\"\215\001\n!ListApiDeploymentRevisionsR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\205\001\n\"Lis" + + "tApiDeploymentRevisionsResponse\022F\n\017api_d" + + "eployments\030\001 \003(\0132-.google.cloud.apigeere" + + "gistry.v1.ApiDeployment\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"{\n\034RollbackApiDeploymentRequest" + + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry.g" + + "oogleapis.com/ApiDeployment\022\030\n\013revision_" + + "id\030\002 \001(\tB\003\340A\002\"g\n\"DeleteApiDeploymentRevi" + + "sionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apige" + + "eregistry.googleapis.com/ApiDeployment\"\215" + + "\001\n\024ListArtifactsRequest\022>\n\006parent\030\001 \001(\tB" + + ".\340A\002\372A(\022&apigeeregistry.googleapis.com/A" + + "rtifact\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"m\n\025ListArtifactsR" + + "esponse\022;\n\tartifacts\030\001 \003(\0132(.google.clou" + + "d.apigeeregistry.v1.Artifact\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"R\n\022GetArtifactRequest\022<\n\004n" + + "ame\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.google" + + "apis.com/Artifact\"Z\n\032GetArtifactContents" + + "Request\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeereg" + + "istry.googleapis.com/Artifact\"\262\001\n\025Create" + + "ArtifactRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022" + + "&apigeeregistry.googleapis.com/Artifact\022" + + "?\n\010artifact\030\002 \001(\0132(.google.cloud.apigeer" + + "egistry.v1.ArtifactB\003\340A\002\022\030\n\013artifact_id\030" + + "\003 \001(\tB\003\340A\002\"Y\n\026ReplaceArtifactRequest\022?\n\010" + + "artifact\030\001 \001(\0132(.google.cloud.apigeeregi" + + "stry.v1.ArtifactB\003\340A\002\"U\n\025DeleteArtifactR" + + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregi" + + "stry.googleapis.com/Artifact2\300E\n\010Registr" + + "y\022\250\001\n\010ListApis\022/.google.cloud.apigeeregi" + + "stry.v1.ListApisRequest\0320.google.cloud.a" + + "pigeeregistry.v1.ListApisResponse\"9\202\323\344\223\002" + + "*\022(/v1/{parent=projects/*/locations/*}/a" + + "pis\332A\006parent\022\225\001\n\006GetApi\022-.google.cloud.a" + + "pigeeregistry.v1.GetApiRequest\032#.google." + + "cloud.apigeeregistry.v1.Api\"7\202\323\344\223\002*\022(/v1" + + "/{name=projects/*/locations/*/apis/*}\332A\004" + + "name\022\255\001\n\tCreateApi\0220.google.cloud.apigee" + + "registry.v1.CreateApiRequest\032#.google.cl" + + "oud.apigeeregistry.v1.Api\"I\202\323\344\223\002/\"(/v1/{" + + "parent=projects/*/locations/*}/apis:\003api" + + "\332A\021parent,api,api_id\022\257\001\n\tUpdateApi\0220.goo" + + "gle.cloud.apigeeregistry.v1.UpdateApiReq" + + "uest\032#.google.cloud.apigeeregistry.v1.Ap" + + "i\"K\202\323\344\223\00232,/v1/{api.name=projects/*/loca" + + "tions/*/apis/*}:\003api\332A\017api,update_mask\022\216" + + "\001\n\tDeleteApi\0220.google.cloud.apigeeregist" + + "ry.v1.DeleteApiRequest\032\026.google.protobuf" + + ".Empty\"7\202\323\344\223\002**(/v1/{name=projects/*/loc" + + "ations/*/apis/*}\332A\004name\022\310\001\n\017ListApiVersi" + + "ons\0226.google.cloud.apigeeregistry.v1.Lis" + + "tApiVersionsRequest\0327.google.cloud.apige" + + "eregistry.v1.ListApiVersionsResponse\"D\202\323" + + "\344\223\0025\0223/v1/{parent=projects/*/locations/*" + + "/apis/*}/versions\332A\006parent\022\265\001\n\rGetApiVer" + + "sion\0224.google.cloud.apigeeregistry.v1.Ge" + + "tApiVersionRequest\032*.google.cloud.apigee" + + "registry.v1.ApiVersion\"B\202\323\344\223\0025\0223/v1/{nam" + + "e=projects/*/locations/*/apis/*/versions" + + "/*}\332A\004name\022\345\001\n\020CreateApiVersion\0227.google" + + ".cloud.apigeeregistry.v1.CreateApiVersio" + + "nRequest\032*.google.cloud.apigeeregistry.v" + + "1.ApiVersion\"l\202\323\344\223\002B\"3/v1/{parent=projec" + + "ts/*/locations/*/apis/*}/versions:\013api_v" + + "ersion\332A!parent,api_version,api_version_" + + "id\022\347\001\n\020UpdateApiVersion\0227.google.cloud.a" + + "pigeeregistry.v1.UpdateApiVersionRequest" + + "\032*.google.cloud.apigeeregistry.v1.ApiVer" + + "sion\"n\202\323\344\223\002N2?/v1/{api_version.name=proj" + + "ects/*/locations/*/apis/*/versions/*}:\013a" + + "pi_version\332A\027api_version,update_mask\022\247\001\n" + + "\020DeleteApiVersion\0227.google.cloud.apigeer" + + "egistry.v1.DeleteApiVersionRequest\032\026.goo" + + "gle.protobuf.Empty\"B\202\323\344\223\0025*3/v1/{name=pr" + + "ojects/*/locations/*/apis/*/versions/*}\332" + + "A\004name\022\307\001\n\014ListApiSpecs\0223.google.cloud.a" + + "pigeeregistry.v1.ListApiSpecsRequest\0324.g" + + "oogle.cloud.apigeeregistry.v1.ListApiSpe" + + "csResponse\"L\202\323\344\223\002=\022;/v1/{parent=projects" + + "/*/locations/*/apis/*/versions/*}/specs\332" + + "A\006parent\022\264\001\n\nGetApiSpec\0221.google.cloud.a" + + "pigeeregistry.v1.GetApiSpecRequest\032\'.goo" + + "gle.cloud.apigeeregistry.v1.ApiSpec\"J\202\323\344" + + "\223\002=\022;/v1/{name=projects/*/locations/*/ap" + + "is/*/versions/*/specs/*}\332A\004name\022\275\001\n\022GetA" + + "piSpecContents\0229.google.cloud.apigeeregi" + + "stry.v1.GetApiSpecContentsRequest\032\024.goog" + + "le.api.HttpBody\"V\202\323\344\223\002I\022G/v1/{name=proje" + + "cts/*/locations/*/apis/*/versions/*/spec" + + "s/*}:getContents\332A\004name\022\333\001\n\rCreateApiSpe" + + "c\0224.google.cloud.apigeeregistry.v1.Creat" + + "eApiSpecRequest\032\'.google.cloud.apigeereg" + + "istry.v1.ApiSpec\"k\202\323\344\223\002G\";/v1/{parent=pr" + + "ojects/*/locations/*/apis/*/versions/*}/" + + "specs:\010api_spec\332A\033parent,api_spec,api_sp" + + "ec_id\022\335\001\n\rUpdateApiSpec\0224.google.cloud.a" + + "pigeeregistry.v1.UpdateApiSpecRequest\032\'." + + "google.cloud.apigeeregistry.v1.ApiSpec\"m" + + "\202\323\344\223\002P2D/v1/{api_spec.name=projects/*/lo" + + "cations/*/apis/*/versions/*/specs/*}:\010ap" + + "i_spec\332A\024api_spec,update_mask\022\251\001\n\rDelete" + + "ApiSpec\0224.google.cloud.apigeeregistry.v1" + + ".DeleteApiSpecRequest\032\026.google.protobuf." + + "Empty\"J\202\323\344\223\002=*;/v1/{name=projects/*/loca" + + "tions/*/apis/*/versions/*/specs/*}\332A\004nam" + + "e\022\314\001\n\022TagApiSpecRevision\0229.google.cloud." + + "apigeeregistry.v1.TagApiSpecRevisionRequ" + + "est\032\'.google.cloud.apigeeregistry.v1.Api" + + "Spec\"R\202\323\344\223\002L\"G/v1/{name=projects/*/locat" + + "ions/*/apis/*/versions/*/specs/*}:tagRev" + + "ision:\001*\022\344\001\n\024ListApiSpecRevisions\022;.goog" + + "le.cloud.apigeeregistry.v1.ListApiSpecRe" + + "visionsRequest\032<.google.cloud.apigeeregi" + + "stry.v1.ListApiSpecRevisionsResponse\"Q\202\323" + + "\344\223\002K\022I/v1/{name=projects/*/locations/*/a" + + "pis/*/versions/*/specs/*}:listRevisions\022" + + "\303\001\n\017RollbackApiSpec\0226.google.cloud.apige" + + "eregistry.v1.RollbackApiSpecRequest\032\'.go" + + "ogle.cloud.apigeeregistry.v1.ApiSpec\"O\202\323" + + "\344\223\002I\"D/v1/{name=projects/*/locations/*/a" + + "pis/*/versions/*/specs/*}:rollback:\001*\022\331\001" + + "\n\025DeleteApiSpecRevision\022<.google.cloud.a" + + "pigeeregistry.v1.DeleteApiSpecRevisionRe" + + "quest\032\'.google.cloud.apigeeregistry.v1.A" + + "piSpec\"Y\202\323\344\223\002L*J/v1/{name=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*}:dele" + + "teRevision\332A\004name\022\324\001\n\022ListApiDeployments" + + "\0229.google.cloud.apigeeregistry.v1.ListAp" + + "iDeploymentsRequest\032:.google.cloud.apige" + + "eregistry.v1.ListApiDeploymentsResponse\"" + + "G\202\323\344\223\0028\0226/v1/{parent=projects/*/location" + + "s/*/apis/*}/deployments\332A\006parent\022\301\001\n\020Get" + + "ApiDeployment\0227.google.cloud.apigeeregis" + + "try.v1.GetApiDeploymentRequest\032-.google." + + "cloud.apigeeregistry.v1.ApiDeployment\"E\202" + + "\323\344\223\0028\0226/v1/{name=projects/*/locations/*/" + + "apis/*/deployments/*}\332A\004name\022\372\001\n\023CreateA" + + "piDeployment\022:.google.cloud.apigeeregist" + + "ry.v1.CreateApiDeploymentRequest\032-.googl" + + "e.cloud.apigeeregistry.v1.ApiDeployment\"" + + "x\202\323\344\223\002H\"6/v1/{parent=projects/*/location" + + "s/*/apis/*}/deployments:\016api_deployment\332" + + "A\'parent,api_deployment,api_deployment_i" + + "d\022\374\001\n\023UpdateApiDeployment\022:.google.cloud" + + ".apigeeregistry.v1.UpdateApiDeploymentRe" + + "quest\032-.google.cloud.apigeeregistry.v1.A" + + "piDeployment\"z\202\323\344\223\002W2E/v1/{api_deploymen" + + "t.name=projects/*/locations/*/apis/*/dep" + + "loyments/*}:\016api_deployment\332A\032api_deploy" + + "ment,update_mask\022\260\001\n\023DeleteApiDeployment" + + "\022:.google.cloud.apigeeregistry.v1.Delete" + + "ApiDeploymentRequest\032\026.google.protobuf.E" + + "mpty\"E\202\323\344\223\0028*6/v1/{name=projects/*/locat" + + "ions/*/apis/*/deployments/*}\332A\004name\022\331\001\n\030" + + "TagApiDeploymentRevision\022?.google.cloud." + + "apigeeregistry.v1.TagApiDeploymentRevisi" + + "onRequest\032-.google.cloud.apigeeregistry." + + "v1.ApiDeployment\"M\202\323\344\223\002G\"B/v1/{name=proj" + + "ects/*/locations/*/apis/*/deployments/*}" + + ":tagRevision:\001*\022\361\001\n\032ListApiDeploymentRev" + + "isions\022A.google.cloud.apigeeregistry.v1." + + "ListApiDeploymentRevisionsRequest\032B.goog" + + "le.cloud.apigeeregistry.v1.ListApiDeploy" + + "mentRevisionsResponse\"L\202\323\344\223\002F\022D/v1/{name" + + "=projects/*/locations/*/apis/*/deploymen" + + "ts/*}:listRevisions\022\320\001\n\025RollbackApiDeplo" + + "yment\022<.google.cloud.apigeeregistry.v1.R" + + "ollbackApiDeploymentRequest\032-.google.clo" + + "ud.apigeeregistry.v1.ApiDeployment\"J\202\323\344\223" + + "\002D\"?/v1/{name=projects/*/locations/*/api" + + "s/*/deployments/*}:rollback:\001*\022\346\001\n\033Delet" + + "eApiDeploymentRevision\022B.google.cloud.ap" + + "igeeregistry.v1.DeleteApiDeploymentRevis" + + "ionRequest\032-.google.cloud.apigeeregistry" + + ".v1.ApiDeployment\"T\202\323\344\223\002G*E/v1/{name=pro" + + "jects/*/locations/*/apis/*/deployments/*" + + "}:deleteRevision\332A\004name\022\312\003\n\rListArtifact" + + "s\0224.google.cloud.apigeeregistry.v1.ListA" + + "rtifactsRequest\0325.google.cloud.apigeereg" + + "istry.v1.ListArtifactsResponse\"\313\002\202\323\344\223\002\273\002" + + "\022-/v1/{parent=projects/*/locations/*}/ar" + + "tifactsZ6\0224/v1/{parent=projects/*/locati" + + "ons/*/apis/*}/artifactsZA\022?/v1/{parent=p" + + "rojects/*/locations/*/apis/*/versions/*}" + + "/artifactsZI\022G/v1/{parent=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*}/arti" + + "factsZD\022B/v1/{parent=projects/*/location" + + "s/*/apis/*/deployments/*}/artifacts\332A\006pa" + + "rent\022\267\003\n\013GetArtifact\0222.google.cloud.apig" + + "eeregistry.v1.GetArtifactRequest\032(.googl" + + "e.cloud.apigeeregistry.v1.Artifact\"\311\002\202\323\344" + + "\223\002\273\002\022-/v1/{name=projects/*/locations/*/a" + + "rtifacts/*}Z6\0224/v1/{name=projects/*/loca" + + "tions/*/apis/*/artifacts/*}ZA\022?/v1/{name" + + "=projects/*/locations/*/apis/*/versions/" + + "*/artifacts/*}ZI\022G/v1/{name=projects/*/l" + + "ocations/*/apis/*/versions/*/specs/*/art" + + "ifacts/*}ZD\022B/v1/{name=projects/*/locati" + + "ons/*/apis/*/deployments/*/artifacts/*}\332" + + "A\004name\022\357\003\n\023GetArtifactContents\022:.google." + + "cloud.apigeeregistry.v1.GetArtifactConte" + + "ntsRequest\032\024.google.api.HttpBody\"\205\003\202\323\344\223\002" + + "\367\002\0229/v1/{name=projects/*/locations/*/art" + + "ifacts/*}:getContentsZB\022@/v1/{name=proje" + + "cts/*/locations/*/apis/*/artifacts/*}:ge" + + "tContentsZM\022K/v1/{name=projects/*/locati" + + "ons/*/apis/*/versions/*/artifacts/*}:get" + + "ContentsZU\022S/v1/{name=projects/*/locatio" + + "ns/*/apis/*/versions/*/specs/*/artifacts" + + "/*}:getContentsZP\022N/v1/{name=projects/*/" + + "locations/*/apis/*/deployments/*/artifac" + + "ts/*}:getContents\332A\004name\022\206\004\n\016CreateArtif" + + "act\0225.google.cloud.apigeeregistry.v1.Cre" + + "ateArtifactRequest\032(.google.cloud.apigee" + + "registry.v1.Artifact\"\222\003\202\323\344\223\002\355\002\"-/v1/{par" + + "ent=projects/*/locations/*}/artifacts:\010a" + + "rtifactZ@\"4/v1/{parent=projects/*/locati" + + "ons/*/apis/*}/artifacts:\010artifactZK\"?/v1" + + "/{parent=projects/*/locations/*/apis/*/v" + + "ersions/*}/artifacts:\010artifactZS\"G/v1/{p" + + "arent=projects/*/locations/*/apis/*/vers" + + "ions/*/specs/*}/artifacts:\010artifactZN\"B/" + + "v1/{parent=projects/*/locations/*/apis/*" + + "/deployments/*}/artifacts:\010artifact\332A\033pa" + + "rent,artifact,artifact_id\022\242\004\n\017ReplaceArt" + + "ifact\0226.google.cloud.apigeeregistry.v1.R" + + "eplaceArtifactRequest\032(.google.cloud.api" + + "geeregistry.v1.Artifact\"\254\003\202\323\344\223\002\232\003\0326/v1/{" + + "artifact.name=projects/*/locations/*/art" + + "ifacts/*}:\010artifactZI\032=/v1/{artifact.nam" + + "e=projects/*/locations/*/apis/*/artifact" + + "s/*}:\010artifactZT\032H/v1/{artifact.name=pro" + + "jects/*/locations/*/apis/*/versions/*/ar" + + "tifacts/*}:\010artifactZ\\\032P/v1/{artifact.na" + + "me=projects/*/locations/*/apis/*/version" + + "s/*/specs/*/artifacts/*}:\010artifactZW\032K/v" + + "1/{artifact.name=projects/*/locations/*/" + + "apis/*/deployments/*/artifacts/*}:\010artif" + + "act\332A\010artifact\022\253\003\n\016DeleteArtifact\0225.goog" + + "le.cloud.apigeeregistry.v1.DeleteArtifac" + + "tRequest\032\026.google.protobuf.Empty\"\311\002\202\323\344\223\002" + + "\273\002*-/v1/{name=projects/*/locations/*/art" + + "ifacts/*}Z6*4/v1/{name=projects/*/locati" + + "ons/*/apis/*/artifacts/*}ZA*?/v1/{name=p" + + "rojects/*/locations/*/apis/*/versions/*/" + + "artifacts/*}ZI*G/v1/{name=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*/artif" + + "acts/*}ZD*B/v1/{name=projects/*/location" + + "s/*/apis/*/deployments/*/artifacts/*}\332A\004" + + "name\032Q\312A\035apigeeregistry.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\360\001\n\"com.google.cloud.apigeeregis" + + "try.v1B\024RegistryServiceProtoP\001ZLgoogle.g" + + "olang.org/genproto/googleapis/cloud/apig" + + "eeregistry/v1;apigeeregistry\252\002\036Google.Cl" + + "oud.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Api" + + "geeRegistry\\V1\352\002!Google::Cloud::ApigeeRe" + + "gistry::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.api.FieldBehaviorProto.getDescriptor(), + com.google.api.HttpBodyProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor, + new java.lang.String[] { "Apis", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor, + new java.lang.String[] { "Parent", "Api", "ApiId", }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor, + new java.lang.String[] { "Api", "UpdateMask", "AllowMissing", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor, + new java.lang.String[] { "ApiVersions", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor, + new java.lang.String[] { "Parent", "ApiVersion", "ApiVersionId", }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor, + new java.lang.String[] { "ApiVersion", "UpdateMask", "AllowMissing", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor, + new java.lang.String[] { "ApiSpecs", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor, + new java.lang.String[] { "Parent", "ApiSpec", "ApiSpecId", }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor, + new java.lang.String[] { "ApiSpec", "UpdateMask", "AllowMissing", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor, + new java.lang.String[] { "Name", "Tag", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor, + new java.lang.String[] { "ApiSpecs", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor, + new java.lang.String[] { "Name", "RevisionId", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor, + new java.lang.String[] { "ApiDeployments", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor, + new java.lang.String[] { "Parent", "ApiDeployment", "ApiDeploymentId", }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor, + new java.lang.String[] { "ApiDeployment", "UpdateMask", "AllowMissing", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor, + new java.lang.String[] { "Name", "Tag", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor, + new java.lang.String[] { "ApiDeployments", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor, + new java.lang.String[] { "Name", "RevisionId", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor, + new java.lang.String[] { "Artifacts", "NextPageToken", }); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor, + new java.lang.String[] { "Parent", "Artifact", "ArtifactId", }); + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor, + new java.lang.String[] { "Artifact", }); + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.HttpBodyProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java index 9a26386..a23347f 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for ReplaceArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ReplaceArtifactRequest} */ -public final class ReplaceArtifactRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplaceArtifactRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) ReplaceArtifactRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplaceArtifactRequest.newBuilder() to construct. private ReplaceArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplaceArtifactRequest() {} + private ReplaceArtifactRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplaceArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplaceArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,26 @@ private ReplaceArtifactRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); - } - artifact_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + artifact_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,43 +79,36 @@ private ReplaceArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); } public static final int ARTIFACT_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.Artifact artifact_; /** - * - * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ @java.lang.Override @@ -142,38 +116,27 @@ public boolean hasArtifact() { return artifact_ != null; } /** - * - * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } /** - * - * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
+   * Format: `{parent}/artifacts/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { @@ -181,7 +144,6 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (artifact_ != null) { output.writeMessage(1, getArtifact()); } @@ -207,7 +170,8 @@ public int getSerializedSize() { size = 0; if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getArtifact()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getArtifact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,17 +181,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other = - (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other = (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) obj; if (hasArtifact() != other.hasArtifact()) return false; if (hasArtifact()) { - if (!getArtifact().equals(other.getArtifact())) return false; + if (!getArtifact() + .equals(other.getArtifact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -250,127 +214,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for ReplaceArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ReplaceArtifactRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.newBuilder() @@ -378,15 +332,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(); @@ -400,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override @@ -421,8 +376,7 @@ public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest result = - new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest result = new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(this); if (artifactBuilder_ == null) { result.artifact_ = artifact_; } else { @@ -436,39 +390,38 @@ public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest)other); } else { super.mergeFrom(other); return this; @@ -476,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance()) return this; if (other.hasArtifact()) { mergeArtifact(other.getArtifact()); } @@ -500,8 +452,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -513,64 +464,45 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.Artifact artifact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> - artifactBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactBuilder_; /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ public boolean hasArtifact() { return artifactBuilder_ != null || artifact_ != null; } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { if (artifactBuilder_ == null) { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } else { return artifactBuilder_.getMessage(); } } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { @@ -586,17 +518,13 @@ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact( com.google.cloud.apigeeregistry.v1.Artifact.Builder builderForValue) { @@ -610,25 +538,19 @@ public Builder setArtifact( return this; } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { if (artifact_ != null) { artifact_ = - com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); } else { artifact_ = value; } @@ -640,17 +562,13 @@ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) return this; } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearArtifact() { if (artifactBuilder_ == null) { @@ -664,77 +582,61 @@ public Builder clearArtifact() { return this; } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactBuilder() { - + onChanged(); return getArtifactFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilder(); } else { - return artifact_ == null - ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() - : artifact_; + return artifact_ == null ? + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; } } /** - * - * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
-     * Format: {parent}/artifacts/*
+     * Format: `{parent}/artifacts/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { - artifactBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, - com.google.cloud.apigeeregistry.v1.Artifact.Builder, - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - getArtifact(), getParentForChildren(), isClean()); + artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + getArtifact(), + getParentForChildren(), + isClean()); artifact_ = null; } return artifactBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -744,12 +646,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(); } @@ -758,16 +660,16 @@ public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -782,4 +684,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java new file mode 100644 index 0000000..bf7c70f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java @@ -0,0 +1,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface ReplaceArtifactRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The artifact to replace.
+   * The `name` field is used to identify the artifact to replace.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the artifact field is set. + */ + boolean hasArtifact(); + /** + *
+   * Required. The artifact to replace.
+   * The `name` field is used to identify the artifact to replace.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The artifact. + */ + com.google.cloud.apigeeregistry.v1.Artifact getArtifact(); + /** + *
+   * Required. The artifact to replace.
+   * The `name` field is used to identify the artifact to replace.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java similarity index 65% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java index d6b911c..efe3786 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for RollbackApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest} */ -public final class RollbackApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackApiDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) RollbackApiDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackApiDeploymentRequest.newBuilder() to construct. private RollbackApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackApiDeploymentRequest() { name_ = ""; revisionId_ = ""; @@ -44,15 +26,16 @@ private RollbackApiDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RollbackApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RollbackApiDeploymentRequest( 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(); - revisionId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + revisionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RollbackApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The deployment being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The deployment being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,16 +149,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REVISION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object revisionId_; /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The revisionId. */ @java.lang.Override @@ -195,31 +164,31 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -228,7 +197,6 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -270,16 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other = - (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRevisionId().equals(other.getRevisionId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRevisionId() + .equals(other.getRevisionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for RollbackApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.newBuilder() @@ -429,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -449,14 +410,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance(); } @@ -471,8 +431,7 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest result = - new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(this); result.name_ = name_; result.revisionId_ = revisionId_; onBuilt(); @@ -483,50 +442,46 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other) { + if (other == com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -554,9 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -568,22 +521,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The deployment being rolled back.
      * 
* - * - * string name = 1 [(.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; @@ -592,23 +541,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The deployment being rolled back.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -616,67 +562,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The deployment being rolled back.
      * 
* - * - * 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 deployment being rolled back.
      * 
* - * - * string 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 deployment being rolled back.
      * 
* - * - * 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; @@ -684,22 +617,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -708,23 +639,22 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -732,74 +662,67 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,32 +732,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RollbackApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,8 +767,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java index 596f4a0..a5f0850 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface RollbackApiDeploymentRequestOrBuilder - extends +public interface RollbackApiDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The deployment being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The deployment being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The revisionId. */ java.lang.String getRevisionId(); /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString getRevisionIdBytes(); + com.google.protobuf.ByteString + getRevisionIdBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java similarity index 67% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java index 78f6c9d..2300d90 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for RollbackApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiSpecRequest} */ -public final class RollbackApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RollbackApiSpecRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) RollbackApiSpecRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RollbackApiSpecRequest.newBuilder() to construct. private RollbackApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RollbackApiSpecRequest() { name_ = ""; revisionId_ = ""; @@ -44,15 +26,16 @@ private RollbackApiSpecRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RollbackApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RollbackApiSpecRequest( 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(); - revisionId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + revisionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RollbackApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The spec being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The spec being rolled back.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,16 +149,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REVISION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object revisionId_; /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The revisionId. */ @java.lang.Override @@ -195,31 +164,31 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** - * - * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
-   *   Example: c7cfa2a8
+   *   Example: `c7cfa2a8`
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -228,7 +197,6 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -270,16 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other = - (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRevisionId().equals(other.getRevisionId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRevisionId() + .equals(other.getRevisionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for RollbackApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiSpecRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.newBuilder() @@ -429,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override @@ -470,8 +431,7 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest result = - new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(this); result.name_ = name_; result.revisionId_ = revisionId_; onBuilt(); @@ -482,39 +442,38 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest)other); } else { super.mergeFrom(other); return this; @@ -522,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -551,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,22 +521,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The spec being rolled back.
      * 
* - * - * string name = 1 [(.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; @@ -588,23 +541,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The spec being rolled back.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -612,67 +562,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The spec being rolled back.
      * 
* - * - * 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 spec being rolled back.
      * 
* - * - * string 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 spec being rolled back.
      * 
* - * - * 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; @@ -680,22 +617,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object revisionId_ = ""; /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -704,23 +639,22 @@ public java.lang.String getRevisionId() { } } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString getRevisionIdBytes() { + public com.google.protobuf.ByteString + getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); revisionId_ = b; return b; } else { @@ -728,74 +662,67 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { } } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId(java.lang.String value) { + public Builder setRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** - * - * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
-     *   Example: c7cfa2a8
+     *   Example: `c7cfa2a8`
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(); } @@ -819,16 +746,16 @@ public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RollbackApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -843,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java new file mode 100644 index 0000000..eb92cc2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface RollbackApiSpecRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The spec being rolled back.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The spec being rolled back.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The revision ID to roll back to.
+   * It must be a revision of the same spec.
+   *   Example: `c7cfa2a8`
+   * 
+ * + * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The revisionId. + */ + java.lang.String getRevisionId(); + /** + *
+   * Required. The revision ID to roll back to.
+   * It must be a revision of the same spec.
+   *   Example: `c7cfa2a8`
+   * 
+ * + * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for revisionId. + */ + com.google.protobuf.ByteString + getRevisionIdBytes(); +} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java index 640ab2d..e4425d5 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for TagApiDeploymentRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest} */ -public final class TagApiDeploymentRevisionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TagApiDeploymentRevisionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) TagApiDeploymentRevisionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TagApiDeploymentRevisionRequest.newBuilder() to construct. - private TagApiDeploymentRevisionRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TagApiDeploymentRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TagApiDeploymentRevisionRequest() { name_ = ""; tag_ = ""; @@ -45,15 +26,16 @@ private TagApiDeploymentRevisionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TagApiDeploymentRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TagApiDeploymentRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,27 +54,25 @@ private TagApiDeploymentRevisionRequest( 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(); - tag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,41 +80,34 @@ private TagApiDeploymentRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -178,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ @java.lang.Override @@ -195,30 +163,30 @@ public java.lang.String getTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } } /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -227,7 +195,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -269,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other = - (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other = (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,145 +269,134 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for TagApiDeploymentRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); } - // Construct using - // com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.newBuilder() + // Construct using com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -450,16 +408,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - .getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance(); } @java.lang.Override @@ -473,8 +429,7 @@ public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest build( @java.lang.Override public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest result = - new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest result = new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(this); result.name_ = name_; result.tag_ = tag_; onBuilt(); @@ -485,51 +440,46 @@ public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) { - return mergeFrom( - (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other) { + if (other == com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -557,9 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,22 +519,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * - * string name = 1 [(.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; @@ -595,23 +539,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -619,67 +560,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * - * 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 deployment to be tagged, including the revision ID.
      * 
* - * - * string 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 deployment to be tagged, including the revision ID.
      * 
* - * - * 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; @@ -687,21 +615,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tag_ = ""; /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; @@ -710,22 +636,21 @@ public java.lang.String getTag() { } } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -733,71 +658,64 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { + public Builder setTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes(com.google.protobuf.ByteString value) { + public Builder setTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -807,32 +725,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagApiDeploymentRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TagApiDeploymentRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagApiDeploymentRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TagApiDeploymentRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,8 +760,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java index e9437d6..639ec26 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface TagApiDeploymentRevisionRequestOrBuilder - extends +public interface TagApiDeploymentRevisionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java similarity index 67% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java index 26c03f1..ef9b4a9 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for TagApiSpecRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest} */ -public final class TagApiSpecRevisionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TagApiSpecRevisionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) TagApiSpecRevisionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TagApiSpecRevisionRequest.newBuilder() to construct. private TagApiSpecRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TagApiSpecRevisionRequest() { name_ = ""; tag_ = ""; @@ -44,15 +26,16 @@ private TagApiSpecRevisionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TagApiSpecRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TagApiSpecRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private TagApiSpecRevisionRequest( 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(); - tag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private TagApiSpecRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ @java.lang.Override @@ -194,30 +163,30 @@ public java.lang.String getTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } } /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -268,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other = - (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other = (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for TagApiSpecRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.newBuilder() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,14 +408,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance(); } @@ -469,8 +429,7 @@ public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest result = - new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest result = new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(this); result.name_ = name_; result.tag_ = tag_; onBuilt(); @@ -481,39 +440,38 @@ public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest)other); } else { super.mergeFrom(other); return this; @@ -521,9 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -551,8 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,22 +519,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * - * string name = 1 [(.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; @@ -588,23 +539,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -612,67 +560,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * - * 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 spec to be tagged, including the revision ID.
      * 
* - * - * string 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 spec to be tagged, including the revision ID.
      * 
* - * - * 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; @@ -680,21 +615,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tag_ = ""; /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; @@ -703,22 +636,21 @@ public java.lang.String getTag() { } } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tag_ = b; return b; } else { @@ -726,71 +658,64 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { + public Builder setTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes(com.google.protobuf.ByteString value) { + public Builder setTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,13 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(); } @@ -815,16 +739,16 @@ public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagApiSpecRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TagApiSpecRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagApiSpecRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TagApiSpecRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java index f7a56f0..70227db 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface TagApiSpecRevisionRequestOrBuilder - extends +public interface TagApiSpecRevisionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java index 9c238fb..531de8c 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for UpdateApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest} */ -public final class UpdateApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateApiDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) UpdateApiDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateApiDeploymentRequest.newBuilder() to construct. private UpdateApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateApiDeploymentRequest() {} + private UpdateApiDeploymentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateApiDeploymentRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; - if (apiDeployment_ != null) { - subBuilder = apiDeployment_.toBuilder(); - } - apiDeployment_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiDeployment_); - apiDeployment_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; + if (apiDeployment_ != null) { + subBuilder = apiDeployment_.toBuilder(); + } + apiDeployment_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiDeployment_); + apiDeployment_ = 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(); } - case 24: - { - allowMissing_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,43 +97,36 @@ private UpdateApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); } public static final int API_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ @java.lang.Override @@ -162,38 +134,27 @@ public boolean hasApiDeployment() { return apiDeployment_ != null; } /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { @@ -203,17 +164,14 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -221,17 +179,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -239,13 +194,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -258,15 +211,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the deployment is not found, a new deployment will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -275,7 +225,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (apiDeployment_ != null) { output.writeMessage(1, getApiDeployment()); } @@ -307,13 +257,16 @@ public int getSerializedSize() { size = 0; if (apiDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getApiDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,23 +276,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other = - (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) obj; if (hasApiDeployment() != other.hasApiDeployment()) return false; if (hasApiDeployment()) { - if (!getApiDeployment().equals(other.getApiDeployment())) return false; + if (!getApiDeployment() + .equals(other.getApiDeployment())) 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 (getAllowMissing() != other.getAllowMissing()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,134 +315,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.newBuilder() @@ -495,15 +441,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 +472,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest - getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance(); } @@ -547,8 +493,7 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest result = - new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(this); if (apiDeploymentBuilder_ == null) { result.apiDeployment_ = apiDeployment_; } else { @@ -568,39 +513,38 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -608,9 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other) { - if (other - == com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance()) return this; if (other.hasApiDeployment()) { mergeApiDeployment(other.getApiDeployment()); } @@ -639,9 +581,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -653,64 +593,45 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> - apiDeploymentBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentBuilder_; /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ public boolean hasApiDeployment() { return apiDeploymentBuilder_ != null || apiDeployment_ != null; } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { if (apiDeploymentBuilder_ == null) { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } else { return apiDeploymentBuilder_.getMessage(); } } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { @@ -726,17 +647,13 @@ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment return this; } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiDeployment( com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder builderForValue) { @@ -750,25 +667,19 @@ public Builder setApiDeployment( return this; } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { if (apiDeployment_ != null) { apiDeployment_ = - com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_).mergeFrom(value).buildPartial(); } else { apiDeployment_ = value; } @@ -780,17 +691,13 @@ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployme return this; } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiDeployment() { if (apiDeploymentBuilder_ == null) { @@ -804,70 +711,54 @@ public Builder clearApiDeployment() { return this; } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeploymentBuilder() { - + onChanged(); return getApiDeploymentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { if (apiDeploymentBuilder_ != null) { return apiDeploymentBuilder_.getMessageOrBuilder(); } else { - return apiDeployment_ == null - ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() - : apiDeployment_; + return apiDeployment_ == null ? + com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; } } /** - * - * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
-     * Format: projects/*/locations/*/apis/*/deployments/*
+     * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentFieldBuilder() { if (apiDeploymentBuilder_ == null) { - apiDeploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( - getApiDeployment(), getParentForChildren(), isClean()); + apiDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + getApiDeployment(), + getParentForChildren(), + isClean()); apiDeployment_ = null; } return apiDeploymentBuilder_; @@ -875,58 +766,45 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -945,18 +823,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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(); @@ -967,13 +844,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -982,7 +857,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; } @@ -994,13 +869,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1017,30 +890,26 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1049,51 +918,42 @@ 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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_; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -1101,45 +961,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1149,13 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(); } @@ -1164,16 +1017,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1188,4 +1041,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java index 8d302ea..b1999f1 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java @@ -1,113 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiDeploymentRequestOrBuilder - extends +public interface UpdateApiDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiDeployment field is set. */ boolean hasApiDeployment(); /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiDeployment. */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(); /** - * - * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
-   * Format: projects/*/locations/*/apis/*/deployments/*
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -115,15 +77,12 @@ public interface UpdateApiDeploymentRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * If set to true, and the deployment is not found, a new deployment will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java similarity index 66% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java index 7d8a6a1..93956dc 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for UpdateApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiRequest} */ -public final class UpdateApiRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateApiRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiRequest) UpdateApiRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateApiRequest.newBuilder() to construct. private UpdateApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateApiRequest() {} + private UpdateApiRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateApiRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; - if (api_ != null) { - subBuilder = api_.toBuilder(); - } - api_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(api_); - api_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; + if (api_ != null) { + subBuilder = api_.toBuilder(); + } + api_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(api_); + api_ = 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(); } - case 24: - { - allowMissing_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,42 +97,36 @@ private UpdateApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); } public static final int API_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.Api api_; /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ @java.lang.Override @@ -161,17 +134,13 @@ public boolean hasApi() { return api_ != null; } /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ @java.lang.Override @@ -179,16 +148,13 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { @@ -198,17 +164,14 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -216,17 +179,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -234,13 +194,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -253,15 +211,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
-   * If set to true, and the api is not found, a new api will be created.
+   * If set to true, and the API is not found, a new API will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -270,7 +225,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (api_ != null) { output.writeMessage(1, getApi()); } @@ -302,13 +257,16 @@ public int getSerializedSize() { size = 0; if (api_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApi()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getApi()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -318,23 +276,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiRequest other = - (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) obj; if (hasApi() != other.hasApi()) return false; if (hasApi()) { - if (!getApi().equals(other.getApi())) return false; + if (!getApi() + .equals(other.getApi())) 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 (getAllowMissing() != other.getAllowMissing()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -355,133 +315,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiRequest) com.google.cloud.apigeeregistry.v1.UpdateApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiRequest.newBuilder() @@ -489,15 +441,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(); @@ -519,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override @@ -540,8 +493,7 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiRequest result = - new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(this); if (apiBuilder_ == null) { result.api_ = api_; } else { @@ -561,39 +513,38 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiRequest)other); } else { super.mergeFrom(other); return this; @@ -601,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance()) return this; if (other.hasApi()) { mergeApi(other.getApi()); } @@ -631,8 +581,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,39 +593,28 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.Api api_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> - apiBuilder_; + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apiBuilder_; /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ public boolean hasApi() { return apiBuilder_ != null || api_ != null; } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ public com.google.cloud.apigeeregistry.v1.Api getApi() { @@ -687,16 +625,13 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { } } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { @@ -712,18 +647,16 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder setApi( + com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apiBuilder_ == null) { api_ = builderForValue.build(); onChanged(); @@ -734,24 +667,19 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForV return this; } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { if (api_ != null) { api_ = - com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_).mergeFrom(value).buildPartial(); } else { api_ = value; } @@ -763,16 +691,13 @@ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApi() { if (apiBuilder_ == null) { @@ -786,65 +711,54 @@ public Builder clearApi() { return this; } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.Api.Builder getApiBuilder() { - + onChanged(); return getApiFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { if (apiBuilder_ != null) { return apiBuilder_.getMessageOrBuilder(); } else { - return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; + return api_ == null ? + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } } /** - * - * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
-     * Format: projects/*/locations/*/apis/*
+     * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApiFieldBuilder() { if (apiBuilder_ == null) { - apiBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, - com.google.cloud.apigeeregistry.v1.Api.Builder, - com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - getApi(), getParentForChildren(), isClean()); + apiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + getApi(), + getParentForChildren(), + isClean()); api_ = null; } return apiBuilder_; @@ -852,58 +766,45 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -922,18 +823,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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(); @@ -944,13 +844,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -959,7 +857,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; } @@ -971,13 +869,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -994,30 +890,26 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1026,51 +918,42 @@ 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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_; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
-     * If set to true, and the api is not found, a new api will be created.
+     * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -1078,45 +961,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
-     * If set to true, and the api is not found, a new api will be created.
+     * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
-     * If set to true, and the api is not found, a new api will be created.
+     * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1126,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(); } @@ -1140,16 +1017,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1164,4 +1041,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java index 83ef1d9..9a5df21 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java @@ -1,110 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiRequestOrBuilder - extends +public interface UpdateApiRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the api field is set. */ boolean hasApi(); /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The api. */ com.google.cloud.apigeeregistry.v1.Api getApi(); /** - * - * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
-   * Format: projects/*/locations/*/apis/*
+   * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -112,15 +77,12 @@ public interface UpdateApiRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
-   * If set to true, and the api is not found, a new api will be created.
+   * If set to true, and the API is not found, a new API will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java similarity index 63% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java index dabc475..cebba06 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for UpdateApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiSpecRequest} */ -public final class UpdateApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateApiSpecRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) UpdateApiSpecRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateApiSpecRequest.newBuilder() to construct. private UpdateApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateApiSpecRequest() {} + private UpdateApiSpecRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateApiSpecRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; - if (apiSpec_ != null) { - subBuilder = apiSpec_.toBuilder(); - } - apiSpec_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiSpec_); - apiSpec_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; + if (apiSpec_ != null) { + subBuilder = apiSpec_.toBuilder(); + } + apiSpec_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiSpec_); + apiSpec_ = 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(); } - case 24: - { - allowMissing_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,43 +97,36 @@ private UpdateApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); } public static final int API_SPEC_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ @java.lang.Override @@ -162,38 +134,27 @@ public boolean hasApiSpec() { return apiSpec_ != null; } /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { @@ -203,17 +164,14 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -221,17 +179,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -239,13 +194,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -258,15 +211,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the spec is not found, a new spec will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -275,7 +225,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (apiSpec_ != null) { output.writeMessage(1, getApiSpec()); } @@ -307,13 +257,16 @@ public int getSerializedSize() { size = 0; if (apiSpec_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiSpec()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getApiSpec()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,23 +276,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other = - (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) obj; if (hasApiSpec() != other.hasApiSpec()) return false; if (hasApiSpec()) { - if (!getApiSpec().equals(other.getApiSpec())) return false; + if (!getApiSpec() + .equals(other.getApiSpec())) 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 (getAllowMissing() != other.getAllowMissing()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,134 +315,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiSpecRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.newBuilder() @@ -495,15 +441,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,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override @@ -546,8 +493,7 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest result = - new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(this); if (apiSpecBuilder_ == null) { result.apiSpec_ = apiSpec_; } else { @@ -567,39 +513,38 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest)other); } else { super.mergeFrom(other); return this; @@ -607,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance()) return this; if (other.hasApiSpec()) { mergeApiSpec(other.getApiSpec()); } @@ -637,8 +581,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -650,64 +593,45 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> - apiSpecBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecBuilder_; /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ public boolean hasApiSpec() { return apiSpecBuilder_ != null || apiSpec_ != null; } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { if (apiSpecBuilder_ == null) { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } else { return apiSpecBuilder_.getMessage(); } } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { @@ -723,19 +647,16 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder setApiSpec( + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecBuilder_ == null) { apiSpec_ = builderForValue.build(); onChanged(); @@ -746,25 +667,19 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder bui return this; } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { if (apiSpec_ != null) { apiSpec_ = - com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_).mergeFrom(value).buildPartial(); } else { apiSpec_ = value; } @@ -776,17 +691,13 @@ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiSpec() { if (apiSpecBuilder_ == null) { @@ -800,70 +711,54 @@ public Builder clearApiSpec() { return this; } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecBuilder() { - + onChanged(); return getApiSpecFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { if (apiSpecBuilder_ != null) { return apiSpecBuilder_.getMessageOrBuilder(); } else { - return apiSpec_ == null - ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() - : apiSpec_; + return apiSpec_ == null ? + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; } } /** - * - * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
-     * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+     * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecFieldBuilder() { if (apiSpecBuilder_ == null) { - apiSpecBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - getApiSpec(), getParentForChildren(), isClean()); + apiSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + getApiSpec(), + getParentForChildren(), + isClean()); apiSpec_ = null; } return apiSpecBuilder_; @@ -871,58 +766,45 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -941,18 +823,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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(); @@ -963,13 +844,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -978,7 +857,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; } @@ -990,13 +869,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1013,30 +890,26 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1045,51 +918,42 @@ 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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_; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -1097,45 +961,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1145,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(); } @@ -1159,16 +1017,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1183,4 +1041,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java index 0bd25b5..861f3f7 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java @@ -1,113 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiSpecRequestOrBuilder - extends +public interface UpdateApiSpecRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiSpec field is set. */ boolean hasApiSpec(); /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiSpec. */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(); /** - * - * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -115,15 +77,12 @@ public interface UpdateApiSpecRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * If set to true, and the spec is not found, a new spec will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java similarity index 64% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java index 1f5d715..3ce4158 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** - * - * *
  * Request message for UpdateApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiVersionRequest} */ -public final class UpdateApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateApiVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) UpdateApiVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateApiVersionRequest.newBuilder() to construct. private UpdateApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateApiVersionRequest() {} + private UpdateApiVersionRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,49 +52,44 @@ private UpdateApiVersionRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; - if (apiVersion_ != null) { - subBuilder = apiVersion_.toBuilder(); - } - apiVersion_ = - input.readMessage( - com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiVersion_); - apiVersion_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; + if (apiVersion_ != null) { + subBuilder = apiVersion_.toBuilder(); + } + apiVersion_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiVersion_); + apiVersion_ = 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(); } - case 24: - { - allowMissing_ = input.readBool(); - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + allowMissing_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,43 +97,36 @@ private UpdateApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); } public static final int API_VERSION_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ @java.lang.Override @@ -162,38 +134,27 @@ public boolean hasApiVersion() { return apiVersion_ != null; } /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { @@ -203,17 +164,14 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -221,17 +179,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -239,13 +194,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -258,15 +211,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int ALLOW_MISSING_FIELD_NUMBER = 3; private boolean allowMissing_; /** - * - * *
    * If set to true, and the version is not found, a new version will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -275,7 +225,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (apiVersion_ != null) { output.writeMessage(1, getApiVersion()); } @@ -307,13 +257,16 @@ public int getSerializedSize() { size = 0; if (apiVersion_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiVersion()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getApiVersion()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,23 +276,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other = - (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) obj; if (hasApiVersion() != other.hasApiVersion()) return false; if (hasApiVersion()) { - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) 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 (getAllowMissing() != other.getAllowMissing()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,134 +315,125 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest prototype) { + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for UpdateApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.newBuilder() @@ -495,15 +441,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,9 +472,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto - .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override @@ -546,8 +493,7 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest result = - new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(this); if (apiVersionBuilder_ == null) { result.apiVersion_ = apiVersion_; } else { @@ -567,39 +513,38 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -607,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance()) return this; if (other.hasApiVersion()) { mergeApiVersion(other.getApiVersion()); } @@ -637,8 +581,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -650,64 +593,45 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> - apiVersionBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionBuilder_; /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ public boolean hasApiVersion() { return apiVersionBuilder_ != null || apiVersion_ != null; } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { if (apiVersionBuilder_ == null) { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } else { return apiVersionBuilder_.getMessage(); } } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { @@ -723,17 +647,13 @@ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value return this; } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setApiVersion( com.google.cloud.apigeeregistry.v1.ApiVersion.Builder builderForValue) { @@ -747,25 +667,19 @@ public Builder setApiVersion( return this; } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { if (apiVersion_ != null) { apiVersion_ = - com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_).mergeFrom(value).buildPartial(); } else { apiVersion_ = value; } @@ -777,17 +691,13 @@ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion val return this; } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearApiVersion() { if (apiVersionBuilder_ == null) { @@ -801,70 +711,54 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionBuilder() { - + onChanged(); return getApiVersionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { if (apiVersionBuilder_ != null) { return apiVersionBuilder_.getMessageOrBuilder(); } else { - return apiVersion_ == null - ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() - : apiVersion_; + return apiVersion_ == null ? + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; } } /** - * - * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
-     * Format: projects/*/locations/*/apis/*/versions/*
+     * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionFieldBuilder() { if (apiVersionBuilder_ == null) { - apiVersionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - getApiVersion(), getParentForChildren(), isClean()); + apiVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + getApiVersion(), + getParentForChildren(), + isClean()); apiVersion_ = null; } return apiVersionBuilder_; @@ -872,58 +766,45 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -942,18 +823,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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(); @@ -964,13 +844,11 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -979,7 +857,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; } @@ -991,13 +869,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1014,30 +890,26 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -1046,51 +918,42 @@ 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
-     * If a "*" is specified, all fields are updated, including fields that are
-     * unspecified/default in the request.
+     * If an asterisk "*" is specified, all fields are updated, including fields
+     * that are unspecified/default in the request.
      * 
* * .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_; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ @java.lang.Override @@ -1098,45 +961,39 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1146,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(); } @@ -1160,16 +1017,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,4 +1041,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java index e41bd9c..3c6d21a 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java @@ -1,113 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiVersionRequestOrBuilder - extends +public interface UpdateApiVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the apiVersion field is set. */ boolean hasApiVersion(); /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The apiVersion. */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(); /** - * - * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
-   * Format: projects/*/locations/*/apis/*/versions/*
+   * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
-   * If a "*" is specified, all fields are updated, including fields that are
-   * unspecified/default in the request.
+   * If an asterisk "*" is specified, all fields are updated, including fields
+   * that are unspecified/default in the request.
    * 
* * .google.protobuf.FieldMask update_mask = 2; @@ -115,15 +77,12 @@ public interface UpdateApiVersionRequestOrBuilder com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * If set to true, and the version is not found, a new version will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto similarity index 99% rename from proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto index 8ecc5a1..9e7baee 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto @@ -185,7 +185,7 @@ message Instance { } // Format: `projects/*/locations/*/instance`. - // Currently only locations/global is supported. + // Currently only `locations/global` is supported. string name = 1; // Output only. Creation timestamp. diff --git a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto similarity index 91% rename from proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto index 002a8b2..8411f9e 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto @@ -28,8 +28,8 @@ option java_package = "com.google.cloud.apigeeregistry.v1"; option php_namespace = "Google\\Cloud\\ApigeeRegistry\\V1"; option ruby_package = "Google::Cloud::ApigeeRegistry::V1"; -// An Api is a top-level description of an API. -// Apis are produced by producers and are commitments to provide services. +// A top-level description of an API. +// Produced by producers and are commitments to provide services. message Api { option (google.api.resource) = { type: "apigeeregistry.googleapis.com/Api" @@ -53,17 +53,17 @@ message Api { // A user-definable description of the availability of this service. // Format: free-form, but we expect single words that describe availability, - // e.g. "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". + // e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". string availability = 6; // The recommended version of the API. - // Format: apis/{api}/versions/{version} + // Format: `apis/{api}/versions/{version}` string recommended_version = 7 [(google.api.resource_reference) = { type: "apigeeregistry.googleapis.com/ApiVersion" }]; // The recommended deployment of the API. - // Format: apis/{api}/deployments/{deployment} + // Format: `apis/{api}/deployments/{deployment}` string recommended_deployment = 8 [(google.api.resource_reference) = { type: "apigeeregistry.googleapis.com/ApiDeployment" }]; @@ -73,13 +73,13 @@ message Api { // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. + // characters, underscores, and dashes. International characters are allowed. // No more than 64 user labels can be associated with one resource (System // labels are excluded). // // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. map labels = 9; // Annotations attach non-identifying metadata to resources. @@ -90,7 +90,7 @@ message Api { map annotations = 10; } -// An ApiVersion describes a particular version of an API. +// Describes a particular version of an API. // ApiVersions are what consumers actually use. message ApiVersion { option (google.api.resource) = { @@ -115,7 +115,7 @@ message ApiVersion { // A user-definable description of the lifecycle phase of this API version. // Format: free-form, but we expect single words that describe API maturity, - // e.g. "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", + // e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", // "DEPRECATED", "RETIRED". string state = 6; @@ -130,7 +130,7 @@ message ApiVersion { // // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. map labels = 7; // Annotations attach non-identifying metadata to resources. @@ -141,11 +141,11 @@ message ApiVersion { map annotations = 8; } -// An ApiSpec describes a version of an API in a structured way. +// Describes a version of an API in a structured way. // ApiSpecs provide formal descriptions that consumers can use to use a version. // ApiSpec resources are intended to be fully-resolved descriptions of an // ApiVersion. When specs consist of multiple files, these should be bundled -// together (e.g. in a zip archive) and stored as a unit. Multiple specs can +// together (e.g., in a zip archive) and stored as a unit. Multiple specs can // exist to provide representations in different API description formats. // Synchronization of these representations would be provided by tooling and // background services. @@ -183,8 +183,8 @@ message ApiSpec { // A style (format) descriptor for this spec that is specified as a Media Type // (https://en.wikipedia.org/wiki/Media_type). Possible values include - // "application/vnd.apigee.proto", "application/vnd.apigee.openapi", and - // "application/vnd.apigee.graphql", with possible suffixes representing + // `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and + // `application/vnd.apigee.graphql`, with possible suffixes representing // compression types. These hypothetical names are defined in the vendor tree // defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. // Content types can specify compression. Currently only GZip compression is @@ -221,7 +221,7 @@ message ApiSpec { // // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. map labels = 14; // Annotations attach non-identifying metadata to resources. @@ -232,7 +232,7 @@ message ApiSpec { map annotations = 15; } -// An ApiDeployment describes a service running at particular address that +// Describes a service running at particular address that // provides a particular version of an API. ApiDeployments have revisions which // correspond to different configurations of a single deployment in time. // Revision identifiers should be updated whenever the served API spec or @@ -269,9 +269,9 @@ message ApiDeployment { // Output only. Last update timestamp: when the represented revision was last modified. google.protobuf.Timestamp revision_update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The full resource name (including revision id) of the spec of the API being + // The full resource name (including revision ID) of the spec of the API being // served by the deployment. Changes to this value will update the revision. - // Format: apis/{api}/deployments/{deployment} + // Format: `apis/{api}/deployments/{deployment}` string api_spec_revision = 8 [(google.api.resource_reference) = { type: "apigeeregistry.googleapis.com/ApiSpec" }]; @@ -280,7 +280,7 @@ message ApiDeployment { // update the revision. string endpoint_uri = 9; - // The address of the external channel of the API (e.g. the Developer + // The address of the external channel of the API (e.g., the Developer // Portal). Changes to this value will not affect the revision. string external_channel_uri = 10; @@ -303,7 +303,7 @@ message ApiDeployment { // // See https://goo.gl/xmQnxf for more information and examples of labels. // System reserved label keys are prefixed with - // "apigeeregistry.googleapis.com/" and cannot be changed. + // `apigeeregistry.googleapis.com/` and cannot be changed. map labels = 14; // Annotations attach non-identifying metadata to resources. @@ -318,8 +318,8 @@ message ApiDeployment { // and are used to store metadata that is too large or numerous to be stored // directly on the resource. Since artifacts are stored separately from parent // resources, they should generally be used for metadata that is needed -// infrequently, i.e. not for display in primary views of the resource but -// perhaps displayed or downloaded upon request. The ListArtifacts method +// infrequently, i.e., not for display in primary views of the resource but +// perhaps displayed or downloaded upon request. The `ListArtifacts` method // allows artifacts to be quickly enumerated and checked for presence without // downloading their (potentially-large) contents. message Artifact { diff --git a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto similarity index 89% rename from proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto rename to owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto index f191336..1eec64e 100644 --- a/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto +++ b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto @@ -38,7 +38,7 @@ service Registry { option (google.api.default_host) = "apigeeregistry.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // ListApis returns matching APIs. + // Returns matching APIs. rpc ListApis(ListApisRequest) returns (ListApisResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/apis" @@ -46,7 +46,7 @@ service Registry { option (google.api.method_signature) = "parent"; } - // GetApi returns a specified API. + // Returns a specified API. rpc GetApi(GetApiRequest) returns (Api) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/apis/*}" @@ -54,7 +54,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // CreateApi creates a specified API. + // Creates a specified API. rpc CreateApi(CreateApiRequest) returns (Api) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/apis" @@ -63,7 +63,7 @@ service Registry { option (google.api.method_signature) = "parent,api,api_id"; } - // UpdateApi can be used to modify a specified API. + // Used to modify a specified API. rpc UpdateApi(UpdateApiRequest) returns (Api) { option (google.api.http) = { patch: "/v1/{api.name=projects/*/locations/*/apis/*}" @@ -72,7 +72,7 @@ service Registry { option (google.api.method_signature) = "api,update_mask"; } - // DeleteApi removes a specified API and all of the resources that it + // Removes a specified API and all of the resources that it // owns. rpc DeleteApi(DeleteApiRequest) returns (google.protobuf.Empty) { option (google.api.http) = { @@ -81,7 +81,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // ListApiVersions returns matching versions. + // Returns matching versions. rpc ListApiVersions(ListApiVersionsRequest) returns (ListApiVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/apis/*}/versions" @@ -89,7 +89,7 @@ service Registry { option (google.api.method_signature) = "parent"; } - // GetApiVersion returns a specified version. + // Returns a specified version. rpc GetApiVersion(GetApiVersionRequest) returns (ApiVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/apis/*/versions/*}" @@ -97,7 +97,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // CreateApiVersion creates a specified version. + // Creates a specified version. rpc CreateApiVersion(CreateApiVersionRequest) returns (ApiVersion) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/apis/*}/versions" @@ -106,7 +106,7 @@ service Registry { option (google.api.method_signature) = "parent,api_version,api_version_id"; } - // UpdateApiVersion can be used to modify a specified version. + // Used to modify a specified version. rpc UpdateApiVersion(UpdateApiVersionRequest) returns (ApiVersion) { option (google.api.http) = { patch: "/v1/{api_version.name=projects/*/locations/*/apis/*/versions/*}" @@ -115,7 +115,7 @@ service Registry { option (google.api.method_signature) = "api_version,update_mask"; } - // DeleteApiVersion removes a specified version and all of the resources that + // Removes a specified version and all of the resources that // it owns. rpc DeleteApiVersion(DeleteApiVersionRequest) returns (google.protobuf.Empty) { option (google.api.http) = { @@ -124,7 +124,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // ListApiSpecs returns matching specs. + // Returns matching specs. rpc ListApiSpecs(ListApiSpecsRequest) returns (ListApiSpecsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs" @@ -132,7 +132,7 @@ service Registry { option (google.api.method_signature) = "parent"; } - // GetApiSpec returns a specified spec. + // Returns a specified spec. rpc GetApiSpec(GetApiSpecRequest) returns (ApiSpec) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}" @@ -140,7 +140,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // GetApiSpecContents returns the contents of a specified spec. + // Returns the contents of a specified spec. // If specs are stored with GZip compression, the default behavior // is to return the spec uncompressed (the mime_type response field // indicates the exact format returned). @@ -151,7 +151,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // CreateApiSpec creates a specified spec. + // Creates a specified spec. rpc CreateApiSpec(CreateApiSpecRequest) returns (ApiSpec) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/apis/*/versions/*}/specs" @@ -160,7 +160,7 @@ service Registry { option (google.api.method_signature) = "parent,api_spec,api_spec_id"; } - // UpdateApiSpec can be used to modify a specified spec. + // Used to modify a specified spec. rpc UpdateApiSpec(UpdateApiSpecRequest) returns (ApiSpec) { option (google.api.http) = { patch: "/v1/{api_spec.name=projects/*/locations/*/apis/*/versions/*/specs/*}" @@ -169,8 +169,8 @@ service Registry { option (google.api.method_signature) = "api_spec,update_mask"; } - // DeleteApiSpec removes a specified spec, all revisions, and all child - // resources (e.g. artifacts). + // Removes a specified spec, all revisions, and all child + // resources (e.g., artifacts). rpc DeleteApiSpec(DeleteApiSpecRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}" @@ -178,7 +178,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // TagApiSpecRevision adds a tag to a specified revision of a spec. + // Adds a tag to a specified revision of a spec. rpc TagApiSpecRevision(TagApiSpecRevisionRequest) returns (ApiSpec) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:tagRevision" @@ -186,7 +186,7 @@ service Registry { }; } - // ListApiSpecRevisions lists all revisions of a spec. + // Lists all revisions of a spec. // Revisions are returned in descending order of revision creation time. rpc ListApiSpecRevisions(ListApiSpecRevisionsRequest) returns (ListApiSpecRevisionsResponse) { option (google.api.http) = { @@ -194,7 +194,7 @@ service Registry { }; } - // RollbackApiSpec sets the current revision to a specified prior revision. + // Sets the current revision to a specified prior revision. // Note that this creates a new revision with a new revision ID. rpc RollbackApiSpec(RollbackApiSpecRequest) returns (ApiSpec) { option (google.api.http) = { @@ -203,7 +203,7 @@ service Registry { }; } - // DeleteApiSpecRevision deletes a revision of a spec. + // Deletes a revision of a spec. rpc DeleteApiSpecRevision(DeleteApiSpecRevisionRequest) returns (ApiSpec) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:deleteRevision" @@ -211,7 +211,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // ListApiDeployments returns matching deployments. + // Returns matching deployments. rpc ListApiDeployments(ListApiDeploymentsRequest) returns (ListApiDeploymentsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/apis/*}/deployments" @@ -219,7 +219,7 @@ service Registry { option (google.api.method_signature) = "parent"; } - // GetApiDeployment returns a specified deployment. + // Returns a specified deployment. rpc GetApiDeployment(GetApiDeploymentRequest) returns (ApiDeployment) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/apis/*/deployments/*}" @@ -227,7 +227,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // CreateApiDeployment creates a specified deployment. + // Creates a specified deployment. rpc CreateApiDeployment(CreateApiDeploymentRequest) returns (ApiDeployment) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/apis/*}/deployments" @@ -236,7 +236,7 @@ service Registry { option (google.api.method_signature) = "parent,api_deployment,api_deployment_id"; } - // UpdateApiDeployment can be used to modify a specified deployment. + // Used to modify a specified deployment. rpc UpdateApiDeployment(UpdateApiDeploymentRequest) returns (ApiDeployment) { option (google.api.http) = { patch: "/v1/{api_deployment.name=projects/*/locations/*/apis/*/deployments/*}" @@ -245,8 +245,8 @@ service Registry { option (google.api.method_signature) = "api_deployment,update_mask"; } - // DeleteApiDeployment removes a specified deployment, all revisions, and all - // child resources (e.g. artifacts). + // Removes a specified deployment, all revisions, and all + // child resources (e.g., artifacts). rpc DeleteApiDeployment(DeleteApiDeploymentRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/apis/*/deployments/*}" @@ -254,7 +254,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // TagApiDeploymentRevision adds a tag to a specified revision of a + // Adds a tag to a specified revision of a // deployment. rpc TagApiDeploymentRevision(TagApiDeploymentRevisionRequest) returns (ApiDeployment) { option (google.api.http) = { @@ -263,7 +263,7 @@ service Registry { }; } - // ListApiDeploymentRevisions lists all revisions of a deployment. + // Lists all revisions of a deployment. // Revisions are returned in descending order of revision creation time. rpc ListApiDeploymentRevisions(ListApiDeploymentRevisionsRequest) returns (ListApiDeploymentRevisionsResponse) { option (google.api.http) = { @@ -271,7 +271,7 @@ service Registry { }; } - // RollbackApiDeployment sets the current revision to a specified prior + // Sets the current revision to a specified prior // revision. Note that this creates a new revision with a new revision ID. rpc RollbackApiDeployment(RollbackApiDeploymentRequest) returns (ApiDeployment) { option (google.api.http) = { @@ -280,7 +280,7 @@ service Registry { }; } - // DeleteApiDeploymentRevision deletes a revision of a deployment. + // Deletes a revision of a deployment. rpc DeleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest) returns (ApiDeployment) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/apis/*/deployments/*}:deleteRevision" @@ -288,7 +288,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // ListArtifacts returns matching artifacts. + // Returns matching artifacts. rpc ListArtifacts(ListArtifactsRequest) returns (ListArtifactsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/artifacts" @@ -308,7 +308,7 @@ service Registry { option (google.api.method_signature) = "parent"; } - // GetArtifact returns a specified artifact. + // Returns a specified artifact. rpc GetArtifact(GetArtifactRequest) returns (Artifact) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/artifacts/*}" @@ -328,7 +328,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // GetArtifactContents returns the contents of a specified artifact. + // Returns the contents of a specified artifact. // If artifacts are stored with GZip compression, the default behavior // is to return the artifact uncompressed (the mime_type response field // indicates the exact format returned). @@ -351,7 +351,7 @@ service Registry { option (google.api.method_signature) = "name"; } - // CreateArtifact creates a specified artifact. + // Creates a specified artifact. rpc CreateArtifact(CreateArtifactRequest) returns (Artifact) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/artifacts" @@ -376,7 +376,7 @@ service Registry { option (google.api.method_signature) = "parent,artifact,artifact_id"; } - // ReplaceArtifact can be used to replace a specified artifact. + // Used to replace a specified artifact. rpc ReplaceArtifact(ReplaceArtifactRequest) returns (Artifact) { option (google.api.http) = { put: "/v1/{artifact.name=projects/*/locations/*/artifacts/*}" @@ -401,7 +401,7 @@ service Registry { option (google.api.method_signature) = "artifact"; } - // DeleteArtifact removes a specified artifact. + // Removes a specified artifact. rpc DeleteArtifact(DeleteArtifactRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/artifacts/*}" @@ -425,7 +425,7 @@ service Registry { // Request message for ListApis. message ListApisRequest { // Required. The parent, which owns this collection of APIs. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -464,7 +464,7 @@ message ListApisResponse { // Request message for GetApi. message GetApiRequest { // Required. The name of the API to retrieve. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -476,7 +476,7 @@ message GetApiRequest { // Request message for CreateApi. message CreateApiRequest { // Required. The parent, which owns this collection of APIs. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -487,8 +487,8 @@ message CreateApiRequest { // Required. The API to create. Api api = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the api, which will become the final component of - // the api's resource name. + // Required. The ID to use for the API, which will become the final component of + // the API's resource name. // // This value should be 4-63 characters, and valid characters // are /[a-z][0-9]-/. @@ -502,16 +502,16 @@ message UpdateApiRequest { // Required. The API to update. // // The `name` field is used to identify the API to update. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` Api api = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. If omitted, all fields are updated that // are set in the request message (fields set to default values are ignored). - // If a "*" is specified, all fields are updated, including fields that are - // unspecified/default in the request. + // If an asterisk "*" is specified, all fields are updated, including fields + // that are unspecified/default in the request. google.protobuf.FieldMask update_mask = 2; - // If set to true, and the api is not found, a new api will be created. + // If set to true, and the API is not found, a new API will be created. // In this situation, `update_mask` is ignored. bool allow_missing = 3; } @@ -519,19 +519,23 @@ message UpdateApiRequest { // Request message for DeleteApi. message DeleteApiRequest { // Required. The name of the API to delete. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "apigeeregistry.googleapis.com/Api" } ]; + + // If set to true, any child resources will also be deleted. + // (Otherwise, the request will only work if there are no child resources.) + bool force = 2; } // Request message for ListApiVersions. message ListApiVersionsRequest { // Required. The parent, which owns this collection of versions. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -570,7 +574,7 @@ message ListApiVersionsResponse { // Request message for GetApiVersion. message GetApiVersionRequest { // Required. The name of the version to retrieve. - // Format: projects/*/locations/*/apis/*/versions/* + // Format: `projects/*/locations/*/apis/*/versions/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -582,7 +586,7 @@ message GetApiVersionRequest { // Request message for CreateApiVersion. message CreateApiVersionRequest { // Required. The parent, which owns this collection of versions. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -608,13 +612,13 @@ message UpdateApiVersionRequest { // Required. The version to update. // // The `name` field is used to identify the version to update. - // Format: projects/*/locations/*/apis/*/versions/* + // Format: `projects/*/locations/*/apis/*/versions/*` ApiVersion api_version = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. If omitted, all fields are updated that // are set in the request message (fields set to default values are ignored). - // If a "*" is specified, all fields are updated, including fields that are - // unspecified/default in the request. + // If an asterisk "*" is specified, all fields are updated, including fields + // that are unspecified/default in the request. google.protobuf.FieldMask update_mask = 2; // If set to true, and the version is not found, a new version will be @@ -625,19 +629,23 @@ message UpdateApiVersionRequest { // Request message for DeleteApiVersion. message DeleteApiVersionRequest { // Required. The name of the version to delete. - // Format: projects/*/locations/*/apis/*/versions/* + // Format: `projects/*/locations/*/apis/*/versions/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "apigeeregistry.googleapis.com/ApiVersion" } ]; + + // If set to true, any child resources will also be deleted. + // (Otherwise, the request will only work if there are no child resources.) + bool force = 2; } // Request message for ListApiSpecs. message ListApiSpecsRequest { // Required. The parent, which owns this collection of specs. - // Format: projects/*/locations/*/apis/*/versions/* + // Format: `projects/*/locations/*/apis/*/versions/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -676,7 +684,7 @@ message ListApiSpecsResponse { // Request message for GetApiSpec. message GetApiSpecRequest { // Required. The name of the spec to retrieve. - // Format: projects/*/locations/*/apis/*/versions/*/specs/* + // Format: `projects/*/locations/*/apis/*/versions/*/specs/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -688,7 +696,7 @@ message GetApiSpecRequest { // Request message for GetApiSpecContents. message GetApiSpecContentsRequest { // Required. The name of the spec whose contents should be retrieved. - // Format: projects/*/locations/*/apis/*/versions/*/specs/* + // Format: `projects/*/locations/*/apis/*/versions/*/specs/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -700,7 +708,7 @@ message GetApiSpecContentsRequest { // Request message for CreateApiSpec. message CreateApiSpecRequest { // Required. The parent, which owns this collection of specs. - // Format: projects/*/locations/*/apis/*/versions/* + // Format: `projects/*/locations/*/apis/*/versions/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -726,13 +734,13 @@ message UpdateApiSpecRequest { // Required. The spec to update. // // The `name` field is used to identify the spec to update. - // Format: projects/*/locations/*/apis/*/versions/*/specs/* + // Format: `projects/*/locations/*/apis/*/versions/*/specs/*` ApiSpec api_spec = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. If omitted, all fields are updated that // are set in the request message (fields set to default values are ignored). - // If a "*" is specified, all fields are updated, including fields that are - // unspecified/default in the request. + // If an asterisk "*" is specified, all fields are updated, including fields + // that are unspecified/default in the request. google.protobuf.FieldMask update_mask = 2; // If set to true, and the spec is not found, a new spec will be created. @@ -743,7 +751,7 @@ message UpdateApiSpecRequest { // Request message for DeleteApiSpec. message DeleteApiSpecRequest { // Required. The name of the spec to delete. - // Format: projects/*/locations/*/apis/*/versions/*/specs/* + // Format: `projects/*/locations/*/apis/*/versions/*/specs/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -812,7 +820,7 @@ message RollbackApiSpecRequest { // Required. The revision ID to roll back to. // It must be a revision of the same spec. // - // Example: c7cfa2a8 + // Example: `c7cfa2a8` string revision_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -822,7 +830,7 @@ message DeleteApiSpecRevisionRequest { // with a revision ID explicitly included. // // Example: - // projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8 + // `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -834,7 +842,7 @@ message DeleteApiSpecRevisionRequest { // Request message for ListApiDeployments. message ListApiDeploymentsRequest { // Required. The parent, which owns this collection of deployments. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -873,7 +881,7 @@ message ListApiDeploymentsResponse { // Request message for GetApiDeployment. message GetApiDeploymentRequest { // Required. The name of the deployment to retrieve. - // Format: projects/*/locations/*/apis/*/deployments/* + // Format: `projects/*/locations/*/apis/*/deployments/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -885,7 +893,7 @@ message GetApiDeploymentRequest { // Request message for CreateApiDeployment. message CreateApiDeploymentRequest { // Required. The parent, which owns this collection of deployments. - // Format: projects/*/locations/*/apis/* + // Format: `projects/*/locations/*/apis/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -911,13 +919,13 @@ message UpdateApiDeploymentRequest { // Required. The deployment to update. // // The `name` field is used to identify the deployment to update. - // Format: projects/*/locations/*/apis/*/deployments/* + // Format: `projects/*/locations/*/apis/*/deployments/*` ApiDeployment api_deployment = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. If omitted, all fields are updated that // are set in the request message (fields set to default values are ignored). - // If a "*" is specified, all fields are updated, including fields that are - // unspecified/default in the request. + // If an asterisk "*" is specified, all fields are updated, including fields + // that are unspecified/default in the request. google.protobuf.FieldMask update_mask = 2; // If set to true, and the deployment is not found, a new deployment will be @@ -928,7 +936,7 @@ message UpdateApiDeploymentRequest { // Request message for DeleteApiDeployment. message DeleteApiDeploymentRequest { // Required. The name of the deployment to delete. - // Format: projects/*/locations/*/apis/*/deployments/* + // Format: `projects/*/locations/*/apis/*/deployments/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -997,7 +1005,7 @@ message RollbackApiDeploymentRequest { // Required. The revision ID to roll back to. // It must be a revision of the same deployment. // - // Example: c7cfa2a8 + // Example: `c7cfa2a8` string revision_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -1007,7 +1015,7 @@ message DeleteApiDeploymentRevisionRequest { // with a revision ID explicitly included. // // Example: - // projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8 + // `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1019,7 +1027,7 @@ message DeleteApiDeploymentRevisionRequest { // Request message for ListArtifacts. message ListArtifactsRequest { // Required. The parent, which owns this collection of artifacts. - // Format: {parent} + // Format: `{parent}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1058,7 +1066,7 @@ message ListArtifactsResponse { // Request message for GetArtifact. message GetArtifactRequest { // Required. The name of the artifact to retrieve. - // Format: {parent}/artifacts/* + // Format: `{parent}/artifacts/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1070,7 +1078,7 @@ message GetArtifactRequest { // Request message for GetArtifactContents. message GetArtifactContentsRequest { // Required. The name of the artifact whose contents should be retrieved. - // Format: {parent}/artifacts/* + // Format: `{parent}/artifacts/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1082,7 +1090,7 @@ message GetArtifactContentsRequest { // Request message for CreateArtifact. message CreateArtifactRequest { // Required. The parent, which owns this collection of artifacts. - // Format: {parent} + // Format: `{parent}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1108,14 +1116,14 @@ message ReplaceArtifactRequest { // Required. The artifact to replace. // // The `name` field is used to identify the artifact to replace. - // Format: {parent}/artifacts/* + // Format: `{parent}/artifacts/*` Artifact artifact = 1 [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteArtifact. message DeleteArtifactRequest { // Required. The name of the artifact to delete. - // Format: {parent}/artifacts/* + // Format: `{parent}/artifacts/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java index 9dedcf2..6a1532b 100644 --- a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java @@ -36,6 +36,7 @@ public static void asyncDeleteApi() throws Exception { DeleteApiRequest request = DeleteApiRequest.newBuilder() .setName(ApiName.of("[PROJECT]", "[LOCATION]", "[API]").toString()) + .setForce(true) .build(); ApiFuture future = registryClient.deleteApiCallable().futureCall(request); // Do something. diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java index 1aaaef0..15e4827 100644 --- a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java @@ -35,6 +35,7 @@ public static void syncDeleteApi() throws Exception { DeleteApiRequest request = DeleteApiRequest.newBuilder() .setName(ApiName.of("[PROJECT]", "[LOCATION]", "[API]").toString()) + .setForce(true) .build(); registryClient.deleteApi(request); } diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java index be04a49..9c85302 100644 --- a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java @@ -37,6 +37,7 @@ public static void asyncDeleteApiVersion() throws Exception { DeleteApiVersionRequest.newBuilder() .setName( ApiVersionName.of("[PROJECT]", "[LOCATION]", "[API]", "[VERSION]").toString()) + .setForce(true) .build(); ApiFuture future = registryClient.deleteApiVersionCallable().futureCall(request); // Do something. diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java index 505e932..8ab9d3e 100644 --- a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java @@ -36,6 +36,7 @@ public static void syncDeleteApiVersion() throws Exception { DeleteApiVersionRequest.newBuilder() .setName( ApiVersionName.of("[PROJECT]", "[LOCATION]", "[API]", "[VERSION]").toString()) + .setForce(true) .build(); registryClient.deleteApiVersion(request); } diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java diff --git a/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java deleted file mode 100644 index 85f314e..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the deployment to delete.
-   * Format: projects/*/locations/*/apis/*/deployments/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the deployment to delete.
-   * Format: projects/*/locations/*/apis/*/deployments/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * If set to true, any child resources will also be deleted.
-   * (Otherwise, the request will only work if there are no child resources.)
-   * 
- * - * bool force = 2; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java deleted file mode 100644 index 4389c1e..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiDeploymentRevisionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the deployment revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the deployment revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java deleted file mode 100644 index 0e41de0..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the API to delete.
-   * Format: projects/*/locations/*/apis/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the API to delete.
-   * Format: projects/*/locations/*/apis/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java deleted file mode 100644 index 646d852..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiSpecRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the spec to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the spec to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * If set to true, any child resources will also be deleted.
-   * (Otherwise, the request will only work if there are no child resources.)
-   * 
- * - * bool force = 2; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java deleted file mode 100644 index be2a06e..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiSpecRevisionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the spec revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the spec revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java deleted file mode 100644 index c3864f8..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the version to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the version to delete.
-   * Format: projects/*/locations/*/apis/*/versions/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java deleted file mode 100644 index aa3ce4c..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteArtifactRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the artifact to delete.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the artifact to delete.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 5748c4f..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Instance to delete.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Instance to delete.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java deleted file mode 100644 index 37fe503..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the deployment to retrieve.
-   * Format: projects/*/locations/*/apis/*/deployments/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the deployment to retrieve.
-   * Format: projects/*/locations/*/apis/*/deployments/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java deleted file mode 100644 index e925612..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the API to retrieve.
-   * Format: projects/*/locations/*/apis/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the API to retrieve.
-   * Format: projects/*/locations/*/apis/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java deleted file mode 100644 index 9867518..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiSpecContentsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the spec whose contents should be retrieved.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the spec whose contents should be retrieved.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java deleted file mode 100644 index 4901159..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiSpecRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the spec to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the spec to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*/specs/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java deleted file mode 100644 index b64e44f..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiVersionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the version to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the version to retrieve.
-   * Format: projects/*/locations/*/apis/*/versions/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java deleted file mode 100644 index 6876052..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetArtifactContentsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the artifact whose contents should be retrieved.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the artifact whose contents should be retrieved.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java deleted file mode 100644 index 34dec49..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetArtifactRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the artifact to retrieve.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the artifact to retrieve.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index 44d8b16..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the Instance to retrieve.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the Instance to retrieve.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java deleted file mode 100644 index 847df51..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public final class ProvisioningServiceProto { - private ProvisioningServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_Instance_Config_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/cloud/apigeeregistry/v1/provisi" - + "oning_service.proto\022\036google.cloud.apigee" - + "registry.v1\032\034google/api/annotations.prot" - + "o\032\027google/api/client.proto\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032#google/longrunning/operations.pr" - + "oto\032\037google/protobuf/timestamp.proto\"\255\001\n" - + "\025CreateInstanceRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\022?\n\010instance\030" - + "\003 \001(\0132(.google.cloud.apigeeregistry.v1.I" - + "nstanceB\003\340A\002\"U\n\025DeleteInstanceRequest\022<\n" - + "\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.goog" - + "leapis.com/Instance\"R\n\022GetInstanceReques" - + "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry." - + "googleapis.com/Instance\"\335\001\n\021OperationMet" - + "adata\022/\n\013create_time\030\001 \001(\0132\032.google.prot" - + "obuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004" - + "verb\030\004 \001(\t\022\026\n\016status_message\030\005 \001(\t\022\036\n\026ca" - + "ncellation_requested\030\006 \001(\010\022\023\n\013api_versio" - + "n\030\007 \001(\t\"\302\004\n\010Instance\022\014\n\004name\030\001 \001(\t\0224\n\013cr" - + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\022B\n\005state\030\004 \001(\0162.." - + "google.cloud.apigeeregistry.v1.Instance." - + "StateB\003\340A\003\022\032\n\rstate_message\030\005 \001(\tB\003\340A\003\022D" - + "\n\006config\030\006 \001(\0132/.google.cloud.apigeeregi" - + "stry.v1.Instance.ConfigB\003\340A\002\032;\n\006Config\022\025" - + "\n\010location\030\001 \001(\tB\003\340A\003\022\032\n\rcmek_key_name\030\002" - + " \001(\tB\003\340A\002\"n\n\005State\022\025\n\021STATE_UNSPECIFIED\020" - + "\000\022\014\n\010INACTIVE\020\001\022\014\n\010CREATING\020\002\022\n\n\006ACTIVE\020" - + "\003\022\014\n\010UPDATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020" - + "\006:i\352Af\n&apigeeregistry.googleapis.com/In" - + "stance\022.google.cloud.apige" - + "eregistry.v1.ApiDeployment.AnnotationsEn" - + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" - + "\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:}\352Az\n+apigeeregis" - + "try.googleapis.com/ApiDeployment\022Kprojec" - + "ts/{project}/locations/{location}/apis/{" - + "api}/deployments/{deployment}\"\267\005\n\010Artifa" - + "ct\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" - + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\022\021\n\tmime_type\030\004 \001(\t\022\027\n\nsize_bytes\030\005 " - + "\001(\005B\003\340A\003\022\021\n\004hash\030\006 \001(\tB\003\340A\003\022\025\n\010contents\030" - + "\007 \001(\014B\003\340A\004:\332\003\352A\326\003\n&apigeeregistry.google" - + "apis.com/Artifact\022\n\004name\030\001 \001(\tB0\340A\002\372A*\n(apigeeregistry." - + "googleapis.com/ApiVersion\"\276\001\n\027CreateApiV" - + "ersionRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(a" - + "pigeeregistry.googleapis.com/ApiVersion\022" - + "D\n\013api_version\030\002 \001(\0132*.google.cloud.apig" - + "eeregistry.v1.ApiVersionB\003\340A\002\022\033\n\016api_ver" - + "sion_id\030\003 \001(\tB\003\340A\002\"\247\001\n\027UpdateApiVersionR" - + "equest\022D\n\013api_version\030\001 \001(\0132*.google.clo" - + "ud.apigeeregistry.v1.ApiVersionB\003\340A\002\022/\n\013" - + "update_mask\030\002 \001(\0132\032.google.protobuf.Fiel" - + "dMask\022\025\n\rallow_missing\030\003 \001(\010\"Y\n\027DeleteAp" - + "iVersionRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(a" - + "pigeeregistry.googleapis.com/ApiVersion\"" - + "\213\001\n\023ListApiSpecsRequest\022=\n\006parent\030\001 \001(\tB" - + "-\340A\002\372A\'\022%apigeeregistry.googleapis.com/A" - + "piSpec\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"k\n\024ListApiSpecsRes" - + "ponse\022:\n\tapi_specs\030\001 \003(\0132\'.google.cloud." - + "apigeeregistry.v1.ApiSpec\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"P\n\021GetApiSpecRequest\022;\n\004name\030" - + "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" - + ".com/ApiSpec\"X\n\031GetApiSpecContentsReques" - + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry." - + "googleapis.com/ApiSpec\"\257\001\n\024CreateApiSpec" - + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%apigeer" - + "egistry.googleapis.com/ApiSpec\022>\n\010api_sp" - + "ec\030\002 \001(\0132\'.google.cloud.apigeeregistry.v" - + "1.ApiSpecB\003\340A\002\022\030\n\013api_spec_id\030\003 \001(\tB\003\340A\002" - + "\"\236\001\n\024UpdateApiSpecRequest\022>\n\010api_spec\030\001 " - + "\001(\0132\'.google.cloud.apigeeregistry.v1.Api" - + "SpecB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\022\025\n\rallow_missing\030\003 \001(" - + "\010\"b\n\024DeleteApiSpecRequest\022;\n\004name\030\001 \001(\tB" - + "-\340A\002\372A\'\n%apigeeregistry.googleapis.com/A" - + "piSpec\022\r\n\005force\030\002 \001(\010\"j\n\031TagApiSpecRevis" - + "ionRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigee" - + "registry.googleapis.com/ApiSpec\022\020\n\003tag\030\002" - + " \001(\tB\003\340A\002\"\201\001\n\033ListApiSpecRevisionsReques" - + "t\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry." - + "googleapis.com/ApiSpec\022\021\n\tpage_size\030\002 \001(" - + "\005\022\022\n\npage_token\030\003 \001(\t\"s\n\034ListApiSpecRevi" - + "sionsResponse\022:\n\tapi_specs\030\001 \003(\0132\'.googl" - + "e.cloud.apigeeregistry.v1.ApiSpec\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"o\n\026RollbackApiSpecReq" - + "uest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregist" - + "ry.googleapis.com/ApiSpec\022\030\n\013revision_id" - + "\030\002 \001(\tB\003\340A\002\"[\n\034DeleteApiSpecRevisionRequ" - + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistr" - + "y.googleapis.com/ApiSpec\"\227\001\n\031ListApiDepl" - + "oymentsRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+" - + "apigeeregistry.googleapis.com/ApiDeploym" - + "ent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\022\016\n\006filter\030\004 \001(\t\"}\n\032ListApiDeployments" - + "Response\022F\n\017api_deployments\030\001 \003(\0132-.goog" - + "le.cloud.apigeeregistry.v1.ApiDeployment" - + "\022\027\n\017next_page_token\030\002 \001(\t\"\\\n\027GetApiDeplo" - + "ymentRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apig" - + "eeregistry.googleapis.com/ApiDeployment\"" - + "\315\001\n\032CreateApiDeploymentRequest\022C\n\006parent" - + "\030\001 \001(\tB3\340A\002\372A-\022+apigeeregistry.googleapi" - + "s.com/ApiDeployment\022J\n\016api_deployment\030\002 " - + "\001(\0132-.google.cloud.apigeeregistry.v1.Api" - + "DeploymentB\003\340A\002\022\036\n\021api_deployment_id\030\003 \001" - + "(\tB\003\340A\002\"\260\001\n\032UpdateApiDeploymentRequest\022J" - + "\n\016api_deployment\030\001 \001(\0132-.google.cloud.ap" - + "igeeregistry.v1.ApiDeploymentB\003\340A\002\022/\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "ask\022\025\n\rallow_missing\030\003 \001(\010\"n\n\032DeleteApiD" - + "eploymentRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+" - + "apigeeregistry.googleapis.com/ApiDeploym" - + "ent\022\r\n\005force\030\002 \001(\010\"v\n\037TagApiDeploymentRe" - + "visionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+api" - + "geeregistry.googleapis.com/ApiDeployment" - + "\022\020\n\003tag\030\002 \001(\tB\003\340A\002\"\215\001\n!ListApiDeployment" - + "RevisionsRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+" - + "apigeeregistry.googleapis.com/ApiDeploym" - + "ent\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\"\205\001\n\"ListApiDeploymentRevisionsRespons" - + "e\022F\n\017api_deployments\030\001 \003(\0132-.google.clou" - + "d.apigeeregistry.v1.ApiDeployment\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"{\n\034RollbackApiDeploym" - + "entRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigee" - + "registry.googleapis.com/ApiDeployment\022\030\n" - + "\013revision_id\030\002 \001(\tB\003\340A\002\"g\n\"DeleteApiDepl" - + "oymentRevisionRequest\022A\n\004name\030\001 \001(\tB3\340A\002" - + "\372A-\n+apigeeregistry.googleapis.com/ApiDe" - + "ployment\"\215\001\n\024ListArtifactsRequest\022>\n\006par" - + "ent\030\001 \001(\tB.\340A\002\372A(\022&apigeeregistry.google" - + "apis.com/Artifact\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"m\n\025List" - + "ArtifactsResponse\022;\n\tartifacts\030\001 \003(\0132(.g" - + "oogle.cloud.apigeeregistry.v1.Artifact\022\027" - + "\n\017next_page_token\030\002 \001(\t\"R\n\022GetArtifactRe" - + "quest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregis" - + "try.googleapis.com/Artifact\"Z\n\032GetArtifa" - + "ctContentsRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n" - + "&apigeeregistry.googleapis.com/Artifact\"" - + "\262\001\n\025CreateArtifactRequest\022>\n\006parent\030\001 \001(" - + "\tB.\340A\002\372A(\022&apigeeregistry.googleapis.com" - + "/Artifact\022?\n\010artifact\030\002 \001(\0132(.google.clo" - + "ud.apigeeregistry.v1.ArtifactB\003\340A\002\022\030\n\013ar" - + "tifact_id\030\003 \001(\tB\003\340A\002\"Y\n\026ReplaceArtifactR" - + "equest\022?\n\010artifact\030\001 \001(\0132(.google.cloud." - + "apigeeregistry.v1.ArtifactB\003\340A\002\"U\n\025Delet" - + "eArtifactRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&" - + "apigeeregistry.googleapis.com/Artifact2\300" - + "E\n\010Registry\022\250\001\n\010ListApis\022/.google.cloud." - + "apigeeregistry.v1.ListApisRequest\0320.goog" - + "le.cloud.apigeeregistry.v1.ListApisRespo" - + "nse\"9\202\323\344\223\002*\022(/v1/{parent=projects/*/loca" - + "tions/*}/apis\332A\006parent\022\225\001\n\006GetApi\022-.goog" - + "le.cloud.apigeeregistry.v1.GetApiRequest" - + "\032#.google.cloud.apigeeregistry.v1.Api\"7\202" - + "\323\344\223\002*\022(/v1/{name=projects/*/locations/*/" - + "apis/*}\332A\004name\022\255\001\n\tCreateApi\0220.google.cl" - + "oud.apigeeregistry.v1.CreateApiRequest\032#" - + ".google.cloud.apigeeregistry.v1.Api\"I\202\323\344" - + "\223\002/\"(/v1/{parent=projects/*/locations/*}" - + "/apis:\003api\332A\021parent,api,api_id\022\257\001\n\tUpdat" - + "eApi\0220.google.cloud.apigeeregistry.v1.Up" - + "dateApiRequest\032#.google.cloud.apigeeregi" - + "stry.v1.Api\"K\202\323\344\223\00232,/v1/{api.name=proje" - + "cts/*/locations/*/apis/*}:\003api\332A\017api,upd" - + "ate_mask\022\216\001\n\tDeleteApi\0220.google.cloud.ap" - + "igeeregistry.v1.DeleteApiRequest\032\026.googl" - + "e.protobuf.Empty\"7\202\323\344\223\002**(/v1/{name=proj" - + "ects/*/locations/*/apis/*}\332A\004name\022\310\001\n\017Li" - + "stApiVersions\0226.google.cloud.apigeeregis" - + "try.v1.ListApiVersionsRequest\0327.google.c" - + "loud.apigeeregistry.v1.ListApiVersionsRe" - + "sponse\"D\202\323\344\223\0025\0223/v1/{parent=projects/*/l" - + "ocations/*/apis/*}/versions\332A\006parent\022\265\001\n" - + "\rGetApiVersion\0224.google.cloud.apigeeregi" - + "stry.v1.GetApiVersionRequest\032*.google.cl" - + "oud.apigeeregistry.v1.ApiVersion\"B\202\323\344\223\0025" - + "\0223/v1/{name=projects/*/locations/*/apis/" - + "*/versions/*}\332A\004name\022\345\001\n\020CreateApiVersio" - + "n\0227.google.cloud.apigeeregistry.v1.Creat" - + "eApiVersionRequest\032*.google.cloud.apigee" - + "registry.v1.ApiVersion\"l\202\323\344\223\002B\"3/v1/{par" - + "ent=projects/*/locations/*/apis/*}/versi" - + "ons:\013api_version\332A!parent,api_version,ap" - + "i_version_id\022\347\001\n\020UpdateApiVersion\0227.goog" - + "le.cloud.apigeeregistry.v1.UpdateApiVers" - + "ionRequest\032*.google.cloud.apigeeregistry" - + ".v1.ApiVersion\"n\202\323\344\223\002N2?/v1/{api_version" - + ".name=projects/*/locations/*/apis/*/vers" - + "ions/*}:\013api_version\332A\027api_version,updat" - + "e_mask\022\247\001\n\020DeleteApiVersion\0227.google.clo" - + "ud.apigeeregistry.v1.DeleteApiVersionReq" - + "uest\032\026.google.protobuf.Empty\"B\202\323\344\223\0025*3/v" - + "1/{name=projects/*/locations/*/apis/*/ve" - + "rsions/*}\332A\004name\022\307\001\n\014ListApiSpecs\0223.goog" - + "le.cloud.apigeeregistry.v1.ListApiSpecsR" - + "equest\0324.google.cloud.apigeeregistry.v1." - + "ListApiSpecsResponse\"L\202\323\344\223\002=\022;/v1/{paren" - + "t=projects/*/locations/*/apis/*/versions" - + "/*}/specs\332A\006parent\022\264\001\n\nGetApiSpec\0221.goog" - + "le.cloud.apigeeregistry.v1.GetApiSpecReq" - + "uest\032\'.google.cloud.apigeeregistry.v1.Ap" - + "iSpec\"J\202\323\344\223\002=\022;/v1/{name=projects/*/loca" - + "tions/*/apis/*/versions/*/specs/*}\332A\004nam" - + "e\022\275\001\n\022GetApiSpecContents\0229.google.cloud." - + "apigeeregistry.v1.GetApiSpecContentsRequ" - + "est\032\024.google.api.HttpBody\"V\202\323\344\223\002I\022G/v1/{" - + "name=projects/*/locations/*/apis/*/versi" - + "ons/*/specs/*}:getContents\332A\004name\022\333\001\n\rCr" - + "eateApiSpec\0224.google.cloud.apigeeregistr" - + "y.v1.CreateApiSpecRequest\032\'.google.cloud" - + ".apigeeregistry.v1.ApiSpec\"k\202\323\344\223\002G\";/v1/" - + "{parent=projects/*/locations/*/apis/*/ve" - + "rsions/*}/specs:\010api_spec\332A\033parent,api_s" - + "pec,api_spec_id\022\335\001\n\rUpdateApiSpec\0224.goog" - + "le.cloud.apigeeregistry.v1.UpdateApiSpec" - + "Request\032\'.google.cloud.apigeeregistry.v1" - + ".ApiSpec\"m\202\323\344\223\002P2D/v1/{api_spec.name=pro" - + "jects/*/locations/*/apis/*/versions/*/sp" - + "ecs/*}:\010api_spec\332A\024api_spec,update_mask\022" - + "\251\001\n\rDeleteApiSpec\0224.google.cloud.apigeer" - + "egistry.v1.DeleteApiSpecRequest\032\026.google" - + ".protobuf.Empty\"J\202\323\344\223\002=*;/v1/{name=proje" - + "cts/*/locations/*/apis/*/versions/*/spec" - + "s/*}\332A\004name\022\314\001\n\022TagApiSpecRevision\0229.goo" - + "gle.cloud.apigeeregistry.v1.TagApiSpecRe" - + "visionRequest\032\'.google.cloud.apigeeregis" - + "try.v1.ApiSpec\"R\202\323\344\223\002L\"G/v1/{name=projec" - + "ts/*/locations/*/apis/*/versions/*/specs" - + "/*}:tagRevision:\001*\022\344\001\n\024ListApiSpecRevisi" - + "ons\022;.google.cloud.apigeeregistry.v1.Lis" - + "tApiSpecRevisionsRequest\032<.google.cloud." - + "apigeeregistry.v1.ListApiSpecRevisionsRe" - + "sponse\"Q\202\323\344\223\002K\022I/v1/{name=projects/*/loc" - + "ations/*/apis/*/versions/*/specs/*}:list" - + "Revisions\022\303\001\n\017RollbackApiSpec\0226.google.c" - + "loud.apigeeregistry.v1.RollbackApiSpecRe" - + "quest\032\'.google.cloud.apigeeregistry.v1.A" - + "piSpec\"O\202\323\344\223\002I\"D/v1/{name=projects/*/loc" - + "ations/*/apis/*/versions/*/specs/*}:roll" - + "back:\001*\022\331\001\n\025DeleteApiSpecRevision\022<.goog" - + "le.cloud.apigeeregistry.v1.DeleteApiSpec" - + "RevisionRequest\032\'.google.cloud.apigeereg" - + "istry.v1.ApiSpec\"Y\202\323\344\223\002L*J/v1/{name=proj" - + "ects/*/locations/*/apis/*/versions/*/spe" - + "cs/*}:deleteRevision\332A\004name\022\324\001\n\022ListApiD" - + "eployments\0229.google.cloud.apigeeregistry" - + ".v1.ListApiDeploymentsRequest\032:.google.c" - + "loud.apigeeregistry.v1.ListApiDeployment" - + "sResponse\"G\202\323\344\223\0028\0226/v1/{parent=projects/" - + "*/locations/*/apis/*}/deployments\332A\006pare" - + "nt\022\301\001\n\020GetApiDeployment\0227.google.cloud.a" - + "pigeeregistry.v1.GetApiDeploymentRequest" - + "\032-.google.cloud.apigeeregistry.v1.ApiDep" - + "loyment\"E\202\323\344\223\0028\0226/v1/{name=projects/*/lo" - + "cations/*/apis/*/deployments/*}\332A\004name\022\372" - + "\001\n\023CreateApiDeployment\022:.google.cloud.ap" - + "igeeregistry.v1.CreateApiDeploymentReque" - + "st\032-.google.cloud.apigeeregistry.v1.ApiD" - + "eployment\"x\202\323\344\223\002H\"6/v1/{parent=projects/" - + "*/locations/*/apis/*}/deployments:\016api_d" - + "eployment\332A\'parent,api_deployment,api_de" - + "ployment_id\022\374\001\n\023UpdateApiDeployment\022:.go" - + "ogle.cloud.apigeeregistry.v1.UpdateApiDe" - + "ploymentRequest\032-.google.cloud.apigeereg" - + "istry.v1.ApiDeployment\"z\202\323\344\223\002W2E/v1/{api" - + "_deployment.name=projects/*/locations/*/" - + "apis/*/deployments/*}:\016api_deployment\332A\032" - + "api_deployment,update_mask\022\260\001\n\023DeleteApi" - + "Deployment\022:.google.cloud.apigeeregistry" - + ".v1.DeleteApiDeploymentRequest\032\026.google." - + "protobuf.Empty\"E\202\323\344\223\0028*6/v1/{name=projec" - + "ts/*/locations/*/apis/*/deployments/*}\332A" - + "\004name\022\331\001\n\030TagApiDeploymentRevision\022?.goo" - + "gle.cloud.apigeeregistry.v1.TagApiDeploy" - + "mentRevisionRequest\032-.google.cloud.apige" - + "eregistry.v1.ApiDeployment\"M\202\323\344\223\002G\"B/v1/" - + "{name=projects/*/locations/*/apis/*/depl" - + "oyments/*}:tagRevision:\001*\022\361\001\n\032ListApiDep" - + "loymentRevisions\022A.google.cloud.apigeere" - + "gistry.v1.ListApiDeploymentRevisionsRequ" - + "est\032B.google.cloud.apigeeregistry.v1.Lis" - + "tApiDeploymentRevisionsResponse\"L\202\323\344\223\002F\022" - + "D/v1/{name=projects/*/locations/*/apis/*" - + "/deployments/*}:listRevisions\022\320\001\n\025Rollba" - + "ckApiDeployment\022<.google.cloud.apigeereg" - + "istry.v1.RollbackApiDeploymentRequest\032-." - + "google.cloud.apigeeregistry.v1.ApiDeploy" - + "ment\"J\202\323\344\223\002D\"?/v1/{name=projects/*/locat" - + "ions/*/apis/*/deployments/*}:rollback:\001*" - + "\022\346\001\n\033DeleteApiDeploymentRevision\022B.googl" - + "e.cloud.apigeeregistry.v1.DeleteApiDeplo" - + "ymentRevisionRequest\032-.google.cloud.apig" - + "eeregistry.v1.ApiDeployment\"T\202\323\344\223\002G*E/v1" - + "/{name=projects/*/locations/*/apis/*/dep" - + "loyments/*}:deleteRevision\332A\004name\022\312\003\n\rLi" - + "stArtifacts\0224.google.cloud.apigeeregistr" - + "y.v1.ListArtifactsRequest\0325.google.cloud" - + ".apigeeregistry.v1.ListArtifactsResponse" - + "\"\313\002\202\323\344\223\002\273\002\022-/v1/{parent=projects/*/locat" - + "ions/*}/artifactsZ6\0224/v1/{parent=project" - + "s/*/locations/*/apis/*}/artifactsZA\022?/v1" - + "/{parent=projects/*/locations/*/apis/*/v" - + "ersions/*}/artifactsZI\022G/v1/{parent=proj" - + "ects/*/locations/*/apis/*/versions/*/spe" - + "cs/*}/artifactsZD\022B/v1/{parent=projects/" - + "*/locations/*/apis/*/deployments/*}/arti" - + "facts\332A\006parent\022\267\003\n\013GetArtifact\0222.google." - + "cloud.apigeeregistry.v1.GetArtifactReque" - + "st\032(.google.cloud.apigeeregistry.v1.Arti" - + "fact\"\311\002\202\323\344\223\002\273\002\022-/v1/{name=projects/*/loc" - + "ations/*/artifacts/*}Z6\0224/v1/{name=proje" - + "cts/*/locations/*/apis/*/artifacts/*}ZA\022" - + "?/v1/{name=projects/*/locations/*/apis/*" - + "/versions/*/artifacts/*}ZI\022G/v1/{name=pr" - + "ojects/*/locations/*/apis/*/versions/*/s" - + "pecs/*/artifacts/*}ZD\022B/v1/{name=project" - + "s/*/locations/*/apis/*/deployments/*/art" - + "ifacts/*}\332A\004name\022\357\003\n\023GetArtifactContents" - + "\022:.google.cloud.apigeeregistry.v1.GetArt" - + "ifactContentsRequest\032\024.google.api.HttpBo" - + "dy\"\205\003\202\323\344\223\002\367\002\0229/v1/{name=projects/*/locat" - + "ions/*/artifacts/*}:getContentsZB\022@/v1/{" - + "name=projects/*/locations/*/apis/*/artif" - + "acts/*}:getContentsZM\022K/v1/{name=project" - + "s/*/locations/*/apis/*/versions/*/artifa" - + "cts/*}:getContentsZU\022S/v1/{name=projects" - + "/*/locations/*/apis/*/versions/*/specs/*" - + "/artifacts/*}:getContentsZP\022N/v1/{name=p" - + "rojects/*/locations/*/apis/*/deployments" - + "/*/artifacts/*}:getContents\332A\004name\022\206\004\n\016C" - + "reateArtifact\0225.google.cloud.apigeeregis" - + "try.v1.CreateArtifactRequest\032(.google.cl" - + "oud.apigeeregistry.v1.Artifact\"\222\003\202\323\344\223\002\355\002" - + "\"-/v1/{parent=projects/*/locations/*}/ar" - + "tifacts:\010artifactZ@\"4/v1/{parent=project" - + "s/*/locations/*/apis/*}/artifacts:\010artif" - + "actZK\"?/v1/{parent=projects/*/locations/" - + "*/apis/*/versions/*}/artifacts:\010artifact" - + "ZS\"G/v1/{parent=projects/*/locations/*/a" - + "pis/*/versions/*/specs/*}/artifacts:\010art" - + "ifactZN\"B/v1/{parent=projects/*/location" - + "s/*/apis/*/deployments/*}/artifacts:\010art" - + "ifact\332A\033parent,artifact,artifact_id\022\242\004\n\017" - + "ReplaceArtifact\0226.google.cloud.apigeereg" - + "istry.v1.ReplaceArtifactRequest\032(.google" - + ".cloud.apigeeregistry.v1.Artifact\"\254\003\202\323\344\223" - + "\002\232\003\0326/v1/{artifact.name=projects/*/locat" - + "ions/*/artifacts/*}:\010artifactZI\032=/v1/{ar" - + "tifact.name=projects/*/locations/*/apis/" - + "*/artifacts/*}:\010artifactZT\032H/v1/{artifac" - + "t.name=projects/*/locations/*/apis/*/ver" - + "sions/*/artifacts/*}:\010artifactZ\\\032P/v1/{a" - + "rtifact.name=projects/*/locations/*/apis" - + "/*/versions/*/specs/*/artifacts/*}:\010arti" - + "factZW\032K/v1/{artifact.name=projects/*/lo" - + "cations/*/apis/*/deployments/*/artifacts" - + "/*}:\010artifact\332A\010artifact\022\253\003\n\016DeleteArtif" - + "act\0225.google.cloud.apigeeregistry.v1.Del" - + "eteArtifactRequest\032\026.google.protobuf.Emp" - + "ty\"\311\002\202\323\344\223\002\273\002*-/v1/{name=projects/*/locat" - + "ions/*/artifacts/*}Z6*4/v1/{name=project" - + "s/*/locations/*/apis/*/artifacts/*}ZA*?/" - + "v1/{name=projects/*/locations/*/apis/*/v" - + "ersions/*/artifacts/*}ZI*G/v1/{name=proj" - + "ects/*/locations/*/apis/*/versions/*/spe" - + "cs/*/artifacts/*}ZD*B/v1/{name=projects/" - + "*/locations/*/apis/*/deployments/*/artif" - + "acts/*}\332A\004name\032Q\312A\035apigeeregistry.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformB\360\001\n\"com.google.cloud.a" - + "pigeeregistry.v1B\024RegistryServiceProtoP\001" - + "ZLgoogle.golang.org/genproto/googleapis/" - + "cloud/apigeeregistry/v1;apigeeregistry\252\002" - + "\036Google.Cloud.ApigeeRegistry.V1\312\002\036Google" - + "\\Cloud\\ApigeeRegistry\\V1\352\002!Google::Cloud" - + "::ApigeeRegistry::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.api.FieldBehaviorProto.getDescriptor(), - com.google.api.HttpBodyProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor, - new java.lang.String[] { - "Apis", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor, - new java.lang.String[] { - "Parent", "Api", "ApiId", - }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor, - new java.lang.String[] { - "Api", "UpdateMask", "AllowMissing", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor, - new java.lang.String[] { - "ApiVersions", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor, - new java.lang.String[] { - "Parent", "ApiVersion", "ApiVersionId", - }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor, - new java.lang.String[] { - "ApiVersion", "UpdateMask", "AllowMissing", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor, - new java.lang.String[] { - "ApiSpecs", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor, - new java.lang.String[] { - "Parent", "ApiSpec", "ApiSpecId", - }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor, - new java.lang.String[] { - "ApiSpec", "UpdateMask", "AllowMissing", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor, - new java.lang.String[] { - "Name", "Tag", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor, - new java.lang.String[] { - "ApiSpecs", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor, - new java.lang.String[] { - "Name", "RevisionId", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor, - new java.lang.String[] { - "ApiDeployments", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor, - new java.lang.String[] { - "Parent", "ApiDeployment", "ApiDeploymentId", - }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor, - new java.lang.String[] { - "ApiDeployment", "UpdateMask", "AllowMissing", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor, - new java.lang.String[] { - "Name", "Tag", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor, - new java.lang.String[] { - "ApiDeployments", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", "RevisionId", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor, - new java.lang.String[] { - "Artifacts", "NextPageToken", - }); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor, - new java.lang.String[] { - "Parent", "Artifact", "ArtifactId", - }); - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor, - new java.lang.String[] { - "Artifact", - }); - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.HttpBodyProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java deleted file mode 100644 index cc0bce9..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface ReplaceArtifactRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The artifact to replace.
-   * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the artifact field is set. - */ - boolean hasArtifact(); - /** - * - * - *
-   * Required. The artifact to replace.
-   * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The artifact. - */ - com.google.cloud.apigeeregistry.v1.Artifact getArtifact(); - /** - * - * - *
-   * Required. The artifact to replace.
-   * The `name` field is used to identify the artifact to replace.
-   * Format: {parent}/artifacts/*
-   * 
- * - * - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder(); -} diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java deleted file mode 100644 index be6a002..0000000 --- a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface RollbackApiSpecRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The spec being rolled back.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The spec being rolled back.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Required. The revision ID to roll back to.
-   * It must be a revision of the same spec.
-   *   Example: c7cfa2a8
-   * 
- * - * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The revisionId. - */ - java.lang.String getRevisionId(); - /** - * - * - *
-   * Required. The revision ID to roll back to.
-   * It must be a revision of the same spec.
-   *   Example: c7cfa2a8
-   * 
- * - * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for revisionId. - */ - com.google.protobuf.ByteString getRevisionIdBytes(); -} From 3b887ca732a40c64699eb3abde53036a02ef2a16 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 19 Aug 2022 21:52:22 +0000 Subject: [PATCH 2/2] =?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 --- .../apigeeregistry/v1/ProvisioningClient.java | 16 +- .../v1/ProvisioningSettings.java | 7 +- .../apigeeregistry/v1/RegistryClient.java | 112 +- .../apigeeregistry/v1/RegistrySettings.java | 19 +- .../apigeeregistry/v1/gapic_metadata.json | 0 .../cloud/apigeeregistry/v1/package-info.java | 0 .../stub/GrpcProvisioningCallableFactory.java | 0 .../v1/stub/GrpcProvisioningStub.java | 1 - .../v1/stub/GrpcRegistryCallableFactory.java | 0 .../v1/stub/GrpcRegistryStub.java | 1 - .../HttpJsonProvisioningCallableFactory.java | 0 .../v1/stub/HttpJsonProvisioningStub.java | 1 - .../stub/HttpJsonRegistryCallableFactory.java | 0 .../v1/stub/HttpJsonRegistryStub.java | 0 .../v1/stub/ProvisioningStub.java | 0 .../v1/stub/ProvisioningStubSettings.java | 6 +- .../apigeeregistry/v1/stub/RegistryStub.java | 0 .../v1/stub/RegistryStubSettings.java | 51 +- .../apigeeregistry/v1/MockIAMPolicy.java | 0 .../apigeeregistry/v1/MockIAMPolicyImpl.java | 0 .../apigeeregistry/v1/MockLocations.java | 0 .../apigeeregistry/v1/MockLocationsImpl.java | 0 .../apigeeregistry/v1/MockProvisioning.java | 0 .../v1/MockProvisioningImpl.java | 0 .../cloud/apigeeregistry/v1/MockRegistry.java | 0 .../apigeeregistry/v1/MockRegistryImpl.java | 0 .../v1/ProvisioningClientHttpJsonTest.java | 0 .../v1/ProvisioningClientTest.java | 0 .../v1/RegistryClientHttpJsonTest.java | 0 .../apigeeregistry/v1/RegistryClientTest.java | 0 .../apigeeregistry/v1/ProvisioningGrpc.java | 593 +++ .../cloud/apigeeregistry/v1/RegistryGrpc.java | 4413 +++++++++++++++++ .../apigeeregistry/v1/ProvisioningGrpc.java | 480 -- .../cloud/apigeeregistry/v1/RegistryGrpc.java | 3287 ------------ ...ApiDeploymentRevisionRequestOrBuilder.java | 35 - .../v1/DeleteApiRequestOrBuilder.java | 42 - ...DeleteApiSpecRevisionRequestOrBuilder.java | 35 - .../v1/DeleteArtifactRequestOrBuilder.java | 31 - .../v1/DeleteInstanceRequestOrBuilder.java | 31 - .../v1/GetApiDeploymentRequestOrBuilder.java | 31 - .../v1/GetApiRequestOrBuilder.java | 31 - .../GetApiSpecContentsRequestOrBuilder.java | 31 - .../v1/GetApiSpecRequestOrBuilder.java | 31 - .../v1/GetApiVersionRequestOrBuilder.java | 31 - .../GetArtifactContentsRequestOrBuilder.java | 31 - .../v1/GetArtifactRequestOrBuilder.java | 31 - .../v1/GetInstanceRequestOrBuilder.java | 31 - .../v1/ProvisioningServiceProto.java | 184 - .../v1/RegistryModelsProto.java | 290 -- .../v1/RegistryServiceProto.java | 891 ---- .../google/cloud/apigeeregistry/v1/Api.java | 1476 +++--- .../apigeeregistry/v1/ApiDeployment.java | 1914 ++++--- .../apigeeregistry/v1/ApiDeploymentName.java | 0 .../v1/ApiDeploymentOrBuilder.java | 226 +- .../cloud/apigeeregistry/v1/ApiName.java | 0 .../cloud/apigeeregistry/v1/ApiOrBuilder.java | 168 +- .../cloud/apigeeregistry/v1/ApiSpec.java | 1817 ++++--- .../cloud/apigeeregistry/v1/ApiSpecName.java | 0 .../apigeeregistry/v1/ApiSpecOrBuilder.java | 214 +- .../cloud/apigeeregistry/v1/ApiVersion.java | 1325 ++--- .../apigeeregistry/v1/ApiVersionName.java | 0 .../v1/ApiVersionOrBuilder.java | 150 +- .../cloud/apigeeregistry/v1/Artifact.java | 809 +-- .../cloud/apigeeregistry/v1/ArtifactName.java | 0 .../apigeeregistry/v1/ArtifactOrBuilder.java | 85 +- .../v1/CreateApiDeploymentRequest.java | 575 ++- .../CreateApiDeploymentRequestOrBuilder.java | 64 +- .../apigeeregistry/v1/CreateApiRequest.java | 545 +- .../v1/CreateApiRequestOrBuilder.java | 61 +- .../v1/CreateApiSpecRequest.java | 570 ++- .../v1/CreateApiSpecRequestOrBuilder.java | 64 +- .../v1/CreateApiVersionRequest.java | 567 ++- .../v1/CreateApiVersionRequestOrBuilder.java | 64 +- .../v1/CreateArtifactRequest.java | 567 ++- .../v1/CreateArtifactRequestOrBuilder.java | 64 +- .../v1/CreateInstanceRequest.java | 567 ++- .../v1/CreateInstanceRequestOrBuilder.java | 64 +- .../v1/DeleteApiDeploymentRequest.java | 387 +- .../DeleteApiDeploymentRequestOrBuilder.java | 38 +- .../DeleteApiDeploymentRevisionRequest.java | 378 +- ...ApiDeploymentRevisionRequestOrBuilder.java | 60 + .../apigeeregistry/v1/DeleteApiRequest.java | 376 +- .../v1/DeleteApiRequestOrBuilder.java | 70 + .../v1/DeleteApiSpecRequest.java | 379 +- .../v1/DeleteApiSpecRequestOrBuilder.java | 38 +- .../v1/DeleteApiSpecRevisionRequest.java | 363 +- ...DeleteApiSpecRevisionRequestOrBuilder.java | 60 + .../v1/DeleteApiVersionRequest.java | 379 +- .../v1/DeleteApiVersionRequestOrBuilder.java | 38 +- .../v1/DeleteArtifactRequest.java | 342 +- .../v1/DeleteArtifactRequestOrBuilder.java | 56 + .../v1/DeleteInstanceRequest.java | 342 +- .../v1/DeleteInstanceRequestOrBuilder.java | 56 + .../v1/GetApiDeploymentRequest.java | 342 +- .../v1/GetApiDeploymentRequestOrBuilder.java | 56 + .../apigeeregistry/v1/GetApiRequest.java | 336 +- .../v1/GetApiRequestOrBuilder.java | 56 + .../v1/GetApiSpecContentsRequest.java | 349 +- .../GetApiSpecContentsRequestOrBuilder.java | 56 + .../apigeeregistry/v1/GetApiSpecRequest.java | 339 +- .../v1/GetApiSpecRequestOrBuilder.java | 56 + .../v1/GetApiVersionRequest.java | 342 +- .../v1/GetApiVersionRequestOrBuilder.java | 56 + .../v1/GetArtifactContentsRequest.java | 350 +- .../GetArtifactContentsRequestOrBuilder.java | 56 + .../apigeeregistry/v1/GetArtifactRequest.java | 342 +- .../v1/GetArtifactRequestOrBuilder.java | 56 + .../apigeeregistry/v1/GetInstanceRequest.java | 342 +- .../v1/GetInstanceRequestOrBuilder.java | 56 + .../cloud/apigeeregistry/v1/Instance.java | 1381 ++++-- .../cloud/apigeeregistry/v1/InstanceName.java | 0 .../apigeeregistry/v1/InstanceOrBuilder.java | 104 +- .../v1/ListApiDeploymentRevisionsRequest.java | 491 +- ...piDeploymentRevisionsRequestOrBuilder.java | 47 +- .../ListApiDeploymentRevisionsResponse.java | 482 +- ...iDeploymentRevisionsResponseOrBuilder.java | 45 +- .../v1/ListApiDeploymentsRequest.java | 543 +- .../ListApiDeploymentsRequestOrBuilder.java | 56 +- .../v1/ListApiDeploymentsResponse.java | 454 +- .../ListApiDeploymentsResponseOrBuilder.java | 45 +- .../v1/ListApiSpecRevisionsRequest.java | 473 +- .../ListApiSpecRevisionsRequestOrBuilder.java | 47 +- .../v1/ListApiSpecRevisionsResponse.java | 484 +- ...ListApiSpecRevisionsResponseOrBuilder.java | 45 +- .../v1/ListApiSpecsRequest.java | 536 +- .../v1/ListApiSpecsRequestOrBuilder.java | 56 +- .../v1/ListApiSpecsResponse.java | 463 +- .../v1/ListApiSpecsResponseOrBuilder.java | 45 +- .../v1/ListApiVersionsRequest.java | 536 +- .../v1/ListApiVersionsRequestOrBuilder.java | 56 +- .../v1/ListApiVersionsResponse.java | 461 +- .../v1/ListApiVersionsResponseOrBuilder.java | 45 +- .../apigeeregistry/v1/ListApisRequest.java | 533 +- .../v1/ListApisRequestOrBuilder.java | 56 +- .../apigeeregistry/v1/ListApisResponse.java | 459 +- .../v1/ListApisResponseOrBuilder.java | 46 +- .../v1/ListArtifactsRequest.java | 536 +- .../v1/ListArtifactsRequestOrBuilder.java | 56 +- .../v1/ListArtifactsResponse.java | 463 +- .../v1/ListArtifactsResponseOrBuilder.java | 45 +- .../cloud/apigeeregistry/v1/LocationName.java | 0 .../apigeeregistry/v1/OperationMetadata.java | 771 +-- .../v1/OperationMetadataOrBuilder.java | 73 +- .../v1/ProvisioningServiceProto.java | 210 + .../v1/RegistryModelsProto.java | 367 ++ .../v1/RegistryServiceProto.java | 947 ++++ .../v1/ReplaceArtifactRequest.java | 386 +- .../v1/ReplaceArtifactRequestOrBuilder.java | 38 +- .../v1/RollbackApiDeploymentRequest.java | 442 +- ...RollbackApiDeploymentRequestOrBuilder.java | 44 +- .../v1/RollbackApiSpecRequest.java | 421 +- .../v1/RollbackApiSpecRequestOrBuilder.java | 44 +- .../v1/TagApiDeploymentRevisionRequest.java | 457 +- ...ApiDeploymentRevisionRequestOrBuilder.java | 44 +- .../v1/TagApiSpecRevisionRequest.java | 428 +- .../TagApiSpecRevisionRequestOrBuilder.java | 44 +- .../v1/UpdateApiDeploymentRequest.java | 523 +- .../UpdateApiDeploymentRequestOrBuilder.java | 49 +- .../apigeeregistry/v1/UpdateApiRequest.java | 493 +- .../v1/UpdateApiRequestOrBuilder.java | 46 +- .../v1/UpdateApiSpecRequest.java | 518 +- .../v1/UpdateApiSpecRequestOrBuilder.java | 49 +- .../v1/UpdateApiVersionRequest.java | 515 +- .../v1/UpdateApiVersionRequestOrBuilder.java | 49 +- .../v1/provisioning_service.proto | 0 .../apigeeregistry/v1/registry_models.proto | 0 .../apigeeregistry/v1/registry_service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...ateInstanceLocationnameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createapi/AsyncCreateApi.java | 0 .../createapi/SyncCreateApi.java | 0 .../SyncCreateApiLocationnameApiString.java | 0 .../SyncCreateApiStringApiString.java | 0 .../AsyncCreateApiDeployment.java | 0 .../SyncCreateApiDeployment.java | 0 ...iDeploymentApinameApideploymentString.java | 0 ...piDeploymentStringApideploymentString.java | 0 .../createapispec/AsyncCreateApiSpec.java | 0 .../createapispec/SyncCreateApiSpec.java | 0 ...ateApiSpecApiversionnameApispecString.java | 0 .../SyncCreateApiSpecStringApispecString.java | 0 .../AsyncCreateApiVersion.java | 0 .../SyncCreateApiVersion.java | 0 ...eateApiVersionApinameApiversionString.java | 0 ...reateApiVersionStringApiversionString.java | 0 .../createartifact/AsyncCreateArtifact.java | 0 .../createartifact/SyncCreateArtifact.java | 0 ...tifactApideploymentnameArtifactString.java | 0 ...ncCreateArtifactApinameArtifactString.java | 0 ...eateArtifactApispecnameArtifactString.java | 0 ...eArtifactApiversionnameArtifactString.java | 0 ...ateArtifactLocationnameArtifactString.java | 0 ...yncCreateArtifactStringArtifactString.java | 0 .../deleteapi/AsyncDeleteApi.java | 0 .../deleteapi/SyncDeleteApi.java | 0 .../deleteapi/SyncDeleteApiApiname.java | 0 .../deleteapi/SyncDeleteApiString.java | 0 .../AsyncDeleteApiDeployment.java | 0 .../SyncDeleteApiDeployment.java | 0 ...cDeleteApiDeploymentApideploymentname.java | 0 .../SyncDeleteApiDeploymentString.java | 0 .../AsyncDeleteApiDeploymentRevision.java | 0 .../SyncDeleteApiDeploymentRevision.java | 0 ...piDeploymentRevisionApideploymentname.java | 0 ...SyncDeleteApiDeploymentRevisionString.java | 0 .../deleteapispec/AsyncDeleteApiSpec.java | 0 .../deleteapispec/SyncDeleteApiSpec.java | 0 .../SyncDeleteApiSpecApispecname.java | 0 .../SyncDeleteApiSpecString.java | 0 .../AsyncDeleteApiSpecRevision.java | 0 .../SyncDeleteApiSpecRevision.java | 0 .../SyncDeleteApiSpecRevisionApispecname.java | 0 .../SyncDeleteApiSpecRevisionString.java | 0 .../AsyncDeleteApiVersion.java | 0 .../SyncDeleteApiVersion.java | 0 .../SyncDeleteApiVersionApiversionname.java | 0 .../SyncDeleteApiVersionString.java | 0 .../deleteartifact/AsyncDeleteArtifact.java | 0 .../deleteartifact/SyncDeleteArtifact.java | 0 .../SyncDeleteArtifactArtifactname.java | 0 .../SyncDeleteArtifactString.java | 0 .../v1/registryclient/getapi/AsyncGetApi.java | 0 .../v1/registryclient/getapi/SyncGetApi.java | 0 .../getapi/SyncGetApiApiname.java | 0 .../getapi/SyncGetApiString.java | 0 .../AsyncGetApiDeployment.java | 0 .../SyncGetApiDeployment.java | 0 ...SyncGetApiDeploymentApideploymentname.java | 0 .../SyncGetApiDeploymentString.java | 0 .../getapispec/AsyncGetApiSpec.java | 0 .../getapispec/SyncGetApiSpec.java | 0 .../getapispec/SyncGetApiSpecApispecname.java | 0 .../getapispec/SyncGetApiSpecString.java | 0 .../AsyncGetApiSpecContents.java | 0 .../SyncGetApiSpecContents.java | 0 .../SyncGetApiSpecContentsApispecname.java | 0 .../SyncGetApiSpecContentsString.java | 0 .../getapiversion/AsyncGetApiVersion.java | 0 .../getapiversion/SyncGetApiVersion.java | 0 .../SyncGetApiVersionApiversionname.java | 0 .../SyncGetApiVersionString.java | 0 .../getartifact/AsyncGetArtifact.java | 0 .../getartifact/SyncGetArtifact.java | 0 .../SyncGetArtifactArtifactname.java | 0 .../getartifact/SyncGetArtifactString.java | 0 .../AsyncGetArtifactContents.java | 0 .../SyncGetArtifactContents.java | 0 .../SyncGetArtifactContentsArtifactname.java | 0 .../SyncGetArtifactContentsString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListApiDeploymentRevisions.java | 0 .../AsyncListApiDeploymentRevisionsPaged.java | 0 .../SyncListApiDeploymentRevisions.java | 0 .../AsyncListApiDeployments.java | 0 .../AsyncListApiDeploymentsPaged.java | 0 .../SyncListApiDeployments.java | 0 .../SyncListApiDeploymentsApiname.java | 0 .../SyncListApiDeploymentsString.java | 0 .../listapis/AsyncListApis.java | 0 .../listapis/AsyncListApisPaged.java | 0 .../registryclient/listapis/SyncListApis.java | 0 .../listapis/SyncListApisLocationname.java | 0 .../listapis/SyncListApisString.java | 0 .../AsyncListApiSpecRevisions.java | 0 .../AsyncListApiSpecRevisionsPaged.java | 0 .../SyncListApiSpecRevisions.java | 0 .../listapispecs/AsyncListApiSpecs.java | 0 .../listapispecs/AsyncListApiSpecsPaged.java | 0 .../listapispecs/SyncListApiSpecs.java | 0 .../SyncListApiSpecsApiversionname.java | 0 .../listapispecs/SyncListApiSpecsString.java | 0 .../listapiversions/AsyncListApiVersions.java | 0 .../AsyncListApiVersionsPaged.java | 0 .../listapiversions/SyncListApiVersions.java | 0 .../SyncListApiVersionsApiname.java | 0 .../SyncListApiVersionsString.java | 0 .../listartifacts/AsyncListArtifacts.java | 0 .../AsyncListArtifactsPaged.java | 0 .../listartifacts/SyncListArtifacts.java | 0 .../SyncListArtifactsApideploymentname.java | 0 .../SyncListArtifactsApiname.java | 0 .../SyncListArtifactsApispecname.java | 0 .../SyncListArtifactsApiversionname.java | 0 .../SyncListArtifactsLocationname.java | 0 .../SyncListArtifactsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../replaceartifact/AsyncReplaceArtifact.java | 0 .../replaceartifact/SyncReplaceArtifact.java | 0 .../SyncReplaceArtifactArtifact.java | 0 .../AsyncRollbackApiDeployment.java | 0 .../SyncRollbackApiDeployment.java | 0 .../rollbackapispec/AsyncRollbackApiSpec.java | 0 .../rollbackapispec/SyncRollbackApiSpec.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTagApiDeploymentRevision.java | 0 .../SyncTagApiDeploymentRevision.java | 0 .../AsyncTagApiSpecRevision.java | 0 .../SyncTagApiSpecRevision.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updateapi/AsyncUpdateApi.java | 0 .../updateapi/SyncUpdateApi.java | 0 .../updateapi/SyncUpdateApiApiFieldmask.java | 0 .../AsyncUpdateApiDeployment.java | 0 .../SyncUpdateApiDeployment.java | 0 ...teApiDeploymentApideploymentFieldmask.java | 0 .../updateapispec/AsyncUpdateApiSpec.java | 0 .../updateapispec/SyncUpdateApiSpec.java | 0 .../SyncUpdateApiSpecApispecFieldmask.java | 0 .../AsyncUpdateApiVersion.java | 0 .../SyncUpdateApiVersion.java | 0 ...ncUpdateApiVersionApiversionFieldmask.java | 0 .../registrysettings/getapi/SyncGetApi.java | 0 .../getinstance/SyncGetInstance.java | 0 .../getapi/SyncGetApi.java | 0 351 files changed, 27340 insertions(+), 17989 deletions(-) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java (98%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java (98%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java (97%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java (99%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java (99%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-apigee-registry => google-cloud-apigee-registry}/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java (100%) create mode 100644 grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java create mode 100644 grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java (63%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java (68%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java (65%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java (67%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java (67%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java (65%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java (66%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java (76%) create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryModelsProto.java create mode 100644 proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryServiceProto.java rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1 => proto-google-cloud-apigee-registry-v1}/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java index 9dfc393..568dffc 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningClient.java @@ -71,13 +71,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. *
* @@ -924,7 +924,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -974,7 +977,10 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java index 489170f..878e77d 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningSettings.java @@ -29,7 +29,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.apigeeregistry.v1.stub.ProvisioningStubSettings; @@ -55,10 +54,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java index 2247bd3..da2b987 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryClient.java @@ -67,13 +67,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. *
* @@ -4574,7 +4574,10 @@ protected ListApisFixedSizeCollection createCollection( public static class ListApiVersionsPagedResponse extends AbstractPagedListResponse< - ListApiVersionsRequest, ListApiVersionsResponse, ApiVersion, ListApiVersionsPage, + ListApiVersionsRequest, + ListApiVersionsResponse, + ApiVersion, + ListApiVersionsPage, ListApiVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4624,7 +4627,10 @@ public ApiFuture createPageAsync( public static class ListApiVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiVersionsRequest, ListApiVersionsResponse, ApiVersion, ListApiVersionsPage, + ListApiVersionsRequest, + ListApiVersionsResponse, + ApiVersion, + ListApiVersionsPage, ListApiVersionsFixedSizeCollection> { private ListApiVersionsFixedSizeCollection( @@ -4645,7 +4651,10 @@ protected ListApiVersionsFixedSizeCollection createCollection( public static class ListApiSpecsPagedResponse extends AbstractPagedListResponse< - ListApiSpecsRequest, ListApiSpecsResponse, ApiSpec, ListApiSpecsPage, + ListApiSpecsRequest, + ListApiSpecsResponse, + ApiSpec, + ListApiSpecsPage, ListApiSpecsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4694,7 +4703,10 @@ public ApiFuture createPageAsync( public static class ListApiSpecsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiSpecsRequest, ListApiSpecsResponse, ApiSpec, ListApiSpecsPage, + ListApiSpecsRequest, + ListApiSpecsResponse, + ApiSpec, + ListApiSpecsPage, ListApiSpecsFixedSizeCollection> { private ListApiSpecsFixedSizeCollection(List pages, int collectionSize) { @@ -4714,8 +4726,11 @@ protected ListApiSpecsFixedSizeCollection createCollection( public static class ListApiSpecRevisionsPagedResponse extends AbstractPagedListResponse< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, - ListApiSpecRevisionsPage, ListApiSpecRevisionsFixedSizeCollection> { + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, + ApiSpec, + ListApiSpecRevisionsPage, + ListApiSpecRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4735,7 +4750,9 @@ private ListApiSpecRevisionsPagedResponse(ListApiSpecRevisionsPage page) { public static class ListApiSpecRevisionsPage extends AbstractPage< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, + ApiSpec, ListApiSpecRevisionsPage> { private ListApiSpecRevisionsPage( @@ -4765,8 +4782,11 @@ public ApiFuture createPageAsync( public static class ListApiSpecRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, ApiSpec, - ListApiSpecRevisionsPage, ListApiSpecRevisionsFixedSizeCollection> { + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, + ApiSpec, + ListApiSpecRevisionsPage, + ListApiSpecRevisionsFixedSizeCollection> { private ListApiSpecRevisionsFixedSizeCollection( List pages, int collectionSize) { @@ -4786,8 +4806,11 @@ protected ListApiSpecRevisionsFixedSizeCollection createCollection( public static class ListApiDeploymentsPagedResponse extends AbstractPagedListResponse< - ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, - ListApiDeploymentsPage, ListApiDeploymentsFixedSizeCollection> { + ListApiDeploymentsRequest, + ListApiDeploymentsResponse, + ApiDeployment, + ListApiDeploymentsPage, + ListApiDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext context, @@ -4807,7 +4830,9 @@ private ListApiDeploymentsPagedResponse(ListApiDeploymentsPage page) { public static class ListApiDeploymentsPage extends AbstractPage< - ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, + ListApiDeploymentsRequest, + ListApiDeploymentsResponse, + ApiDeployment, ListApiDeploymentsPage> { private ListApiDeploymentsPage( @@ -4837,8 +4862,11 @@ public ApiFuture createPageAsync( public static class ListApiDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiDeploymentsRequest, ListApiDeploymentsResponse, ApiDeployment, - ListApiDeploymentsPage, ListApiDeploymentsFixedSizeCollection> { + ListApiDeploymentsRequest, + ListApiDeploymentsResponse, + ApiDeployment, + ListApiDeploymentsPage, + ListApiDeploymentsFixedSizeCollection> { private ListApiDeploymentsFixedSizeCollection( List pages, int collectionSize) { @@ -4858,12 +4886,16 @@ protected ListApiDeploymentsFixedSizeCollection createCollection( public static class ListApiDeploymentRevisionsPagedResponse extends AbstractPagedListResponse< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, - ListApiDeploymentRevisionsPage, ListApiDeploymentRevisionsFixedSizeCollection> { + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, + ApiDeployment, + ListApiDeploymentRevisionsPage, + ListApiDeploymentRevisionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment> context, ApiFuture futureResponse) { @@ -4882,12 +4914,15 @@ private ListApiDeploymentRevisionsPagedResponse(ListApiDeploymentRevisionsPage p public static class ListApiDeploymentRevisionsPage extends AbstractPage< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, + ApiDeployment, ListApiDeploymentRevisionsPage> { private ListApiDeploymentRevisionsPage( PageContext< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment> context, ListApiDeploymentRevisionsResponse response) { @@ -4901,7 +4936,8 @@ private static ListApiDeploymentRevisionsPage createEmptyPage() { @Override protected ListApiDeploymentRevisionsPage createPage( PageContext< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment> context, ListApiDeploymentRevisionsResponse response) { @@ -4911,7 +4947,8 @@ protected ListApiDeploymentRevisionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment> context, ApiFuture futureResponse) { @@ -4921,8 +4958,11 @@ public ApiFuture createPageAsync( public static class ListApiDeploymentRevisionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment, - ListApiDeploymentRevisionsPage, ListApiDeploymentRevisionsFixedSizeCollection> { + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, + ApiDeployment, + ListApiDeploymentRevisionsPage, + ListApiDeploymentRevisionsFixedSizeCollection> { private ListApiDeploymentRevisionsFixedSizeCollection( List pages, int collectionSize) { @@ -4942,7 +4982,10 @@ protected ListApiDeploymentRevisionsFixedSizeCollection createCollection( public static class ListArtifactsPagedResponse extends AbstractPagedListResponse< - ListArtifactsRequest, ListArtifactsResponse, Artifact, ListArtifactsPage, + ListArtifactsRequest, + ListArtifactsResponse, + Artifact, + ListArtifactsPage, ListArtifactsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4992,7 +5035,10 @@ public ApiFuture createPageAsync( public static class ListArtifactsFixedSizeCollection extends AbstractFixedSizeCollection< - ListArtifactsRequest, ListArtifactsResponse, Artifact, ListArtifactsPage, + ListArtifactsRequest, + ListArtifactsResponse, + Artifact, + ListArtifactsPage, ListArtifactsFixedSizeCollection> { private ListArtifactsFixedSizeCollection(List pages, int collectionSize) { @@ -5012,7 +5058,10 @@ protected ListArtifactsFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -5062,7 +5111,10 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java index 10cb301..0e3a9ed 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/RegistrySettings.java @@ -36,7 +36,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.apigeeregistry.v1.stub.RegistryStubSettings; @@ -61,10 +60,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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 @@ -182,7 +181,8 @@ public UnaryCallSettings tagApiSpecRevisionS /** Returns the object with the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return ((RegistryStubSettings) getStubSettings()).listApiSpecRevisionsSettings(); @@ -235,7 +235,8 @@ public UnaryCallSettings deleteApiDeploymentS /** Returns the object with the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return ((RegistryStubSettings) getStubSettings()).listApiDeploymentRevisionsSettings(); @@ -521,7 +522,8 @@ public UnaryCallSettings.Builder deleteApiSpecSetti /** Returns the builder for the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return getStubSettingsBuilder().listApiSpecRevisionsSettings(); @@ -577,7 +579,8 @@ public UnaryCallSettings.Builder rollbackApiSpe /** Returns the builder for the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return getStubSettingsBuilder().listApiDeploymentRevisionsSettings(); diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java index 6661d8a..6ceb072 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcProvisioningStub.java @@ -46,7 +46,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java index 70303ca..c1eba99 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/GrpcRegistryStub.java @@ -94,7 +94,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java index 8080827..521c343 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonProvisioningStub.java @@ -30,7 +30,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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/HttpJsonRegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStub.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java index 429412b..aa8efb9 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/ProvisioningStubSettings.java @@ -79,10 +79,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java rename to google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java index f75300e..825fd15 100644 --- a/owl-bot-staging/v1/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java +++ b/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/RegistryStubSettings.java @@ -124,10 +124,10 @@ *

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

    - *
  • The default service address (apigeeregistry.googleapis.com) and default port (443) are + *
  • The default service address (apigeeregistry.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 @@ -180,7 +180,8 @@ public class RegistryStubSettings extends StubSettings { private final UnaryCallSettings deleteApiSpecSettings; private final UnaryCallSettings tagApiSpecRevisionSettings; private final PagedCallSettings< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings; private final UnaryCallSettings rollbackApiSpecSettings; @@ -198,7 +199,8 @@ public class RegistryStubSettings extends StubSettings { private final UnaryCallSettings tagApiDeploymentRevisionSettings; private final PagedCallSettings< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings; private final UnaryCallSettings @@ -417,7 +419,8 @@ public Iterable extractResources(ListApiDeploymentsResponse paylo ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, ApiDeployment> LIST_API_DEPLOYMENT_REVISIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment>() { @Override public String emptyToken() { @@ -582,11 +585,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> LIST_API_SPEC_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -606,7 +611,8 @@ public ApiFuture getFuturePagedResponse( ListApiDeploymentsRequest, ListApiDeploymentsResponse, ListApiDeploymentsPagedResponse> LIST_API_DEPLOYMENTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiDeploymentsRequest, ListApiDeploymentsResponse, + ListApiDeploymentsRequest, + ListApiDeploymentsResponse, ListApiDeploymentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -623,11 +629,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> LIST_API_DEPLOYMENT_REVISIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -637,7 +645,8 @@ public ApiFuture getFuturePagedResponse ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ApiDeployment> pageContext = PageContext.create( @@ -772,7 +781,8 @@ public UnaryCallSettings tagApiSpecRevisionS /** Returns the object with the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return listApiSpecRevisionsSettings; @@ -825,7 +835,8 @@ public UnaryCallSettings deleteApiDeploymentS /** Returns the object with the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return listApiDeploymentRevisionsSettings; @@ -1081,7 +1092,8 @@ public static class Builder extends StubSettings.Builder tagApiSpecRevisionSettings; private final PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings; private final UnaryCallSettings.Builder @@ -1102,7 +1114,8 @@ public static class Builder extends StubSettings.Builder tagApiDeploymentRevisionSettings; private final PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings; private final UnaryCallSettings.Builder @@ -1696,7 +1709,8 @@ public UnaryCallSettings.Builder deleteApiSpecSetti /** Returns the builder for the settings used for calls to listApiSpecRevisions. */ public PagedCallSettings.Builder< - ListApiSpecRevisionsRequest, ListApiSpecRevisionsResponse, + ListApiSpecRevisionsRequest, + ListApiSpecRevisionsResponse, ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings() { return listApiSpecRevisionsSettings; @@ -1752,7 +1766,8 @@ public UnaryCallSettings.Builder rollbackApiSpe /** Returns the builder for the settings used for calls to listApiDeploymentRevisions. */ public PagedCallSettings.Builder< - ListApiDeploymentRevisionsRequest, ListApiDeploymentRevisionsResponse, + ListApiDeploymentRevisionsRequest, + ListApiDeploymentRevisionsResponse, ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings() { return listApiDeploymentRevisionsSettings; diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocations.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioning.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockProvisioningImpl.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistry.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/MockRegistryImpl.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ProvisioningClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java b/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java rename to google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/RegistryClientTest.java diff --git a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java new file mode 100644 index 0000000..8396d5b --- /dev/null +++ b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java @@ -0,0 +1,593 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.apigeeregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The service that is used for managing the data plane provisioning of the
+ * Registry.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/apigeeregistry/v1/provisioning_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ProvisioningGrpc { + + private ProvisioningGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Provisioning"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { + ProvisioningGrpc.getCreateInstanceMethod = + getCreateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ProvisioningMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { + ProvisioningGrpc.getDeleteInstanceMethod = + getDeleteInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ProvisioningMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetInstanceRequest, + com.google.cloud.apigeeregistry.v1.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetInstanceRequest, + com.google.cloud.apigeeregistry.v1.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetInstanceRequest, + com.google.cloud.apigeeregistry.v1.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { + synchronized (ProvisioningGrpc.class) { + if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { + ProvisioningGrpc.getGetInstanceMethod = + getGetInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ProvisioningStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningStub(channel, callOptions); + } + }; + return ProvisioningStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ProvisioningBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningBlockingStub(channel, callOptions); + } + }; + return ProvisioningBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ProvisioningFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ProvisioningFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningFutureStub(channel, callOptions); + } + }; + return ProvisioningFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public abstract static class ProvisioningImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public void createInstance( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the Registry instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetInstanceRequest, + com.google.cloud.apigeeregistry.v1.Instance>(this, METHODID_GET_INSTANCE))) + .build(); + } + } + + /** + * + * + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningStub + extends io.grpc.stub.AbstractAsyncStub { + private ProvisioningStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningStub(channel, callOptions); + } + + /** + * + * + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public void createInstance( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the Registry instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ProvisioningBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the Registry instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Instance getInstance( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The service that is used for managing the data plane provisioning of the
+   * Registry.
+   * 
+ */ + public static final class ProvisioningFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ProvisioningFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ProvisioningFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ProvisioningFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Provisions instance resources for the Registry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the Registry instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Instance> + getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_DELETE_INSTANCE = 1; + private static final int METHODID_GET_INSTANCE = 2; + + 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 ProvisioningImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ProvisioningImplBase 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_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) 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 ProvisioningBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ProvisioningBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Provisioning"); + } + } + + private static final class ProvisioningFileDescriptorSupplier + extends ProvisioningBaseDescriptorSupplier { + ProvisioningFileDescriptorSupplier() {} + } + + private static final class ProvisioningMethodDescriptorSupplier + extends ProvisioningBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ProvisioningMethodDescriptorSupplier(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 (ProvisioningGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ProvisioningFileDescriptorSupplier()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getGetInstanceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java new file mode 100644 index 0000000..7719383 --- /dev/null +++ b/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java @@ -0,0 +1,4413 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.apigeeregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Registry service allows teams to manage descriptions of APIs.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/apigeeregistry/v1/registry_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class RegistryGrpc { + + private RegistryGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Registry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApisRequest, + com.google.cloud.apigeeregistry.v1.ListApisResponse> + getListApisMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApis", + requestType = com.google.cloud.apigeeregistry.v1.ListApisRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApisResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApisRequest, + com.google.cloud.apigeeregistry.v1.ListApisResponse> + getListApisMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApisRequest, + com.google.cloud.apigeeregistry.v1.ListApisResponse> + getListApisMethod; + if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { + RegistryGrpc.getListApisMethod = + getListApisMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApis")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApisRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApisResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApis")) + .build(); + } + } + } + return getListApisMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiRequest, com.google.cloud.apigeeregistry.v1.Api> + getGetApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApi", + requestType = com.google.cloud.apigeeregistry.v1.GetApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiRequest, com.google.cloud.apigeeregistry.v1.Api> + getGetApiMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getGetApiMethod; + if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { + RegistryGrpc.getGetApiMethod = + getGetApiMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApi")) + .build(); + } + } + } + return getGetApiMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getCreateApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApi", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getCreateApiMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getCreateApiMethod; + if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { + RegistryGrpc.getCreateApiMethod = + getCreateApiMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApi")) + .build(); + } + } + } + return getCreateApiMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getUpdateApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApi", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Api.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getUpdateApiMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiRequest, + com.google.cloud.apigeeregistry.v1.Api> + getUpdateApiMethod; + if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { + RegistryGrpc.getUpdateApiMethod = + getUpdateApiMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApi")) + .build(); + } + } + } + return getUpdateApiMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> + getDeleteApiMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApi", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> + getDeleteApiMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiRequest, com.google.protobuf.Empty> + getDeleteApiMethod; + if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { + RegistryGrpc.getDeleteApiMethod = + getDeleteApiMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApi")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApi")) + .build(); + } + } + } + return getDeleteApiMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> + getListApiVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiVersions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> + getListApiVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> + getListApiVersionsMethod; + if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { + RegistryGrpc.getListApiVersionsMethod = + getListApiVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiVersions")) + .build(); + } + } + } + return getListApiVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getGetApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getGetApiVersionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getGetApiVersionMethod; + if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { + RegistryGrpc.getGetApiVersionMethod = + getGetApiVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiVersion")) + .build(); + } + } + } + return getGetApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getCreateApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getCreateApiVersionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getCreateApiVersionMethod; + if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { + RegistryGrpc.getCreateApiVersionMethod = + getCreateApiVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiVersion")) + .build(); + } + } + } + return getCreateApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getUpdateApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getUpdateApiVersionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion> + getUpdateApiVersionMethod; + if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { + RegistryGrpc.getUpdateApiVersionMethod = + getUpdateApiVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiVersion")) + .build(); + } + } + } + return getUpdateApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> + getDeleteApiVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiVersion", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> + getDeleteApiVersionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, com.google.protobuf.Empty> + getDeleteApiVersionMethod; + if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { + RegistryGrpc.getDeleteApiVersionMethod = + getDeleteApiVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiVersion")) + .build(); + } + } + } + return getDeleteApiVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> + getListApiSpecsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiSpecs", + requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> + getListApiSpecsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> + getListApiSpecsMethod; + if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { + RegistryGrpc.getListApiSpecsMethod = + getListApiSpecsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecs")) + .build(); + } + } + } + return getListApiSpecsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getGetApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getGetApiSpecMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getGetApiSpecMethod; + if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { + RegistryGrpc.getGetApiSpecMethod = + getGetApiSpecMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpec")) + .build(); + } + } + } + return getGetApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> + getGetApiSpecContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiSpecContents", + requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, + responseType = com.google.api.HttpBody.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> + getGetApiSpecContentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, com.google.api.HttpBody> + getGetApiSpecContentsMethod; + if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { + RegistryGrpc.getGetApiSpecContentsMethod = + getGetApiSpecContentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpecContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.HttpBody.getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("GetApiSpecContents")) + .build(); + } + } + } + return getGetApiSpecContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getCreateApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getCreateApiSpecMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getCreateApiSpecMethod; + if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { + RegistryGrpc.getCreateApiSpecMethod = + getCreateApiSpecMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiSpec")) + .build(); + } + } + } + return getCreateApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getUpdateApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getUpdateApiSpecMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getUpdateApiSpecMethod; + if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { + RegistryGrpc.getUpdateApiSpecMethod = + getUpdateApiSpecMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiSpec")) + .build(); + } + } + } + return getUpdateApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> + getDeleteApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> + getDeleteApiSpecMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, com.google.protobuf.Empty> + getDeleteApiSpecMethod; + if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { + RegistryGrpc.getDeleteApiSpecMethod = + getDeleteApiSpecMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpec")) + .build(); + } + } + } + return getDeleteApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getTagApiSpecRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TagApiSpecRevision", + requestType = com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getTagApiSpecRevisionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getTagApiSpecRevisionMethod; + if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { + RegistryGrpc.getTagApiSpecRevisionMethod = + getTagApiSpecRevisionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiSpecRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("TagApiSpecRevision")) + .build(); + } + } + } + return getTagApiSpecRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> + getListApiSpecRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiSpecRevisions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> + getListApiSpecRevisionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> + getListApiSpecRevisionsMethod; + if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { + RegistryGrpc.getListApiSpecRevisionsMethod = + getListApiSpecRevisionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListApiSpecRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("ListApiSpecRevisions")) + .build(); + } + } + } + return getListApiSpecRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getRollbackApiSpecMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackApiSpec", + requestType = com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getRollbackApiSpecMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getRollbackApiSpecMethod; + if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { + RegistryGrpc.getRollbackApiSpecMethod = + getRollbackApiSpecMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiSpec")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiSpec")) + .build(); + } + } + } + return getRollbackApiSpecMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getDeleteApiSpecRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpecRevision", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getDeleteApiSpecRevisionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec> + getDeleteApiSpecRevisionMethod; + if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) + == null) { + RegistryGrpc.getDeleteApiSpecRevisionMethod = + getDeleteApiSpecRevisionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteApiSpecRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("DeleteApiSpecRevision")) + .build(); + } + } + } + return getDeleteApiSpecRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> + getListApiDeploymentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiDeployments", + requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> + getListApiDeploymentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> + getListApiDeploymentsMethod; + if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { + RegistryGrpc.getListApiDeploymentsMethod = + getListApiDeploymentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeployments")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("ListApiDeployments")) + .build(); + } + } + } + return getListApiDeploymentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getGetApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getGetApiDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getGetApiDeploymentMethod; + if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { + RegistryGrpc.getGetApiDeploymentMethod = + getGetApiDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiDeployment")) + .build(); + } + } + } + return getGetApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getCreateApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getCreateApiDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getCreateApiDeploymentMethod; + if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { + RegistryGrpc.getCreateApiDeploymentMethod = + getCreateApiDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("CreateApiDeployment")) + .build(); + } + } + } + return getCreateApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getUpdateApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getUpdateApiDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getUpdateApiDeploymentMethod; + if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { + RegistryGrpc.getUpdateApiDeploymentMethod = + getUpdateApiDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("UpdateApiDeployment")) + .build(); + } + } + } + return getUpdateApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, com.google.protobuf.Empty> + getDeleteApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, com.google.protobuf.Empty> + getDeleteApiDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, + com.google.protobuf.Empty> + getDeleteApiDeploymentMethod; + if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { + RegistryGrpc.getDeleteApiDeploymentMethod = + getDeleteApiDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("DeleteApiDeployment")) + .build(); + } + } + } + return getDeleteApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getTagApiDeploymentRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TagApiDeploymentRevision", + requestType = com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getTagApiDeploymentRevisionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getTagApiDeploymentRevisionMethod; + if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) + == null) { + synchronized (RegistryGrpc.class) { + if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) + == null) { + RegistryGrpc.getTagApiDeploymentRevisionMethod = + getTagApiDeploymentRevisionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "TagApiDeploymentRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("TagApiDeploymentRevision")) + .build(); + } + } + } + return getTagApiDeploymentRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + getListApiDeploymentRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListApiDeploymentRevisions", + requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + getListApiDeploymentRevisionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + getListApiDeploymentRevisionsMethod; + if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) + == null) { + synchronized (RegistryGrpc.class) { + if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) + == null) { + RegistryGrpc.getListApiDeploymentRevisionsMethod = + getListApiDeploymentRevisionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListApiDeploymentRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("ListApiDeploymentRevisions")) + .build(); + } + } + } + return getListApiDeploymentRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getRollbackApiDeploymentMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackApiDeployment", + requestType = com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getRollbackApiDeploymentMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getRollbackApiDeploymentMethod; + if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) + == null) { + RegistryGrpc.getRollbackApiDeploymentMethod = + getRollbackApiDeploymentMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RollbackApiDeployment")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("RollbackApiDeployment")) + .build(); + } + } + } + return getRollbackApiDeploymentMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getDeleteApiDeploymentRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeploymentRevision", + requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getDeleteApiDeploymentRevisionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getDeleteApiDeploymentRevisionMethod; + if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) + == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteApiDeploymentRevisionMethod = + RegistryGrpc.getDeleteApiDeploymentRevisionMethod) + == null) { + RegistryGrpc.getDeleteApiDeploymentRevisionMethod = + getDeleteApiDeploymentRevisionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteApiDeploymentRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ApiDeployment + .getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("DeleteApiDeploymentRevision")) + .build(); + } + } + } + return getDeleteApiDeploymentRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> + getListArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListArtifacts", + requestType = com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> + getListArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> + getListArtifactsMethod; + if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { + RegistryGrpc.getListArtifactsMethod = + getListArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListArtifacts")) + .build(); + } + } + } + return getListArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getGetArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetArtifact", + requestType = com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getGetArtifactMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getGetArtifactMethod; + if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { + RegistryGrpc.getGetArtifactMethod = + getGetArtifactMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifact")) + .build(); + } + } + } + return getGetArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> + getGetArtifactContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetArtifactContents", + requestType = com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, + responseType = com.google.api.HttpBody.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> + getGetArtifactContentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, com.google.api.HttpBody> + getGetArtifactContentsMethod; + if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { + RegistryGrpc.getGetArtifactContentsMethod = + getGetArtifactContentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetArtifactContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.api.HttpBody.getDefaultInstance())) + .setSchemaDescriptor( + new RegistryMethodDescriptorSupplier("GetArtifactContents")) + .build(); + } + } + } + return getGetArtifactContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getCreateArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateArtifact", + requestType = com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getCreateArtifactMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getCreateArtifactMethod; + if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { + RegistryGrpc.getCreateArtifactMethod = + getCreateArtifactMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateArtifact")) + .build(); + } + } + } + return getCreateArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getReplaceArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReplaceArtifact", + requestType = com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, + responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getReplaceArtifactMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact> + getReplaceArtifactMethod; + if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { + RegistryGrpc.getReplaceArtifactMethod = + getReplaceArtifactMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ReplaceArtifact")) + .build(); + } + } + } + return getReplaceArtifactMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> + getDeleteArtifactMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteArtifact", + requestType = com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> + getDeleteArtifactMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, com.google.protobuf.Empty> + getDeleteArtifactMethod; + if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { + synchronized (RegistryGrpc.class) { + if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { + RegistryGrpc.getDeleteArtifactMethod = + getDeleteArtifactMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteArtifact")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteArtifact")) + .build(); + } + } + } + return getDeleteArtifactMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static RegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryStub(channel, callOptions); + } + }; + return RegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static RegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryBlockingStub(channel, callOptions); + } + }; + return RegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static RegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryFutureStub(channel, callOptions); + } + }; + return RegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public abstract static class RegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Returns matching APIs.
+     * 
+ */ + public void listApis( + com.google.cloud.apigeeregistry.v1.ListApisRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApisMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a specified API.
+     * 
+ */ + public void getApi( + com.google.cloud.apigeeregistry.v1.GetApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a specified API.
+     * 
+ */ + public void createApi( + com.google.cloud.apigeeregistry.v1.CreateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiMethod(), responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified API.
+     * 
+ */ + public void updateApi( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public void deleteApi( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns matching versions.
+     * 
+ */ + public void listApiVersions( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApiVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a specified version.
+     * 
+ */ + public void getApiVersion( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetApiVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a specified version.
+     * 
+ */ + public void createApiVersion( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateApiVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified version.
+     * 
+ */ + public void updateApiVersion( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateApiVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public void deleteApiVersion( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteApiVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns matching specs.
+     * 
+ */ + public void listApiSpecs( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApiSpecsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a specified spec.
+     * 
+ */ + public void getApiSpec( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getApiSpecContents( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetApiSpecContentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a specified spec.
+     * 
+ */ + public void createApiSpec( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateApiSpecMethod(), responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified spec.
+     * 
+ */ + public void updateApiSpec( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateApiSpecMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiSpec( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteApiSpecMethod(), responseObserver); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public void tagApiSpecRevision( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTagApiSpecRevisionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiSpecRevisions( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApiSpecRevisionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiSpec( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackApiSpecMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public void deleteApiSpecRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteApiSpecRevisionMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns matching deployments.
+     * 
+ */ + public void listApiDeployments( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApiDeploymentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a specified deployment.
+     * 
+ */ + public void getApiDeployment( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetApiDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a specified deployment.
+     * 
+ */ + public void createApiDeployment( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateApiDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public void updateApiDeployment( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateApiDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiDeployment( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteApiDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public void tagApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTagApiDeploymentRevisionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiDeploymentRevisions( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListApiDeploymentRevisionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiDeployment( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackApiDeploymentMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public void deleteApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteApiDeploymentRevisionMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns matching artifacts.
+     * 
+ */ + public void listArtifacts( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a specified artifact.
+     * 
+ */ + public void getArtifact( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetArtifactMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getArtifactContents( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetArtifactContentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a specified artifact.
+     * 
+ */ + public void createArtifact( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateArtifactMethod(), responseObserver); + } + + /** + * + * + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public void replaceArtifact( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReplaceArtifactMethod(), responseObserver); + } + + /** + * + * + *
+     * Removes a specified artifact.
+     * 
+ */ + public void deleteArtifact( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteArtifactMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListApisMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApisRequest, + com.google.cloud.apigeeregistry.v1.ListApisResponse>( + this, METHODID_LIST_APIS))) + .addMethod( + getGetApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiRequest, + com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_GET_API))) + .addMethod( + getCreateApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiRequest, + com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_CREATE_API))) + .addMethod( + getUpdateApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiRequest, + com.google.cloud.apigeeregistry.v1.Api>(this, METHODID_UPDATE_API))) + .addMethod( + getDeleteApiMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_API))) + .addMethod( + getListApiVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>( + this, METHODID_LIST_API_VERSIONS))) + .addMethod( + getGetApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_GET_API_VERSION))) + .addMethod( + getCreateApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_CREATE_API_VERSION))) + .addMethod( + getUpdateApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, + com.google.cloud.apigeeregistry.v1.ApiVersion>( + this, METHODID_UPDATE_API_VERSION))) + .addMethod( + getDeleteApiVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_API_VERSION))) + .addMethod( + getListApiSpecsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse>( + this, METHODID_LIST_API_SPECS))) + .addMethod( + getGetApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_GET_API_SPEC))) + .addMethod( + getGetApiSpecContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, + com.google.api.HttpBody>(this, METHODID_GET_API_SPEC_CONTENTS))) + .addMethod( + getCreateApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_CREATE_API_SPEC))) + .addMethod( + getUpdateApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>(this, METHODID_UPDATE_API_SPEC))) + .addMethod( + getDeleteApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_API_SPEC))) + .addMethod( + getTagApiSpecRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_TAG_API_SPEC_REVISION))) + .addMethod( + getListApiSpecRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>( + this, METHODID_LIST_API_SPEC_REVISIONS))) + .addMethod( + getRollbackApiSpecMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_ROLLBACK_API_SPEC))) + .addMethod( + getDeleteApiSpecRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiSpec>( + this, METHODID_DELETE_API_SPEC_REVISION))) + .addMethod( + getListApiDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>( + this, METHODID_LIST_API_DEPLOYMENTS))) + .addMethod( + getGetApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_GET_API_DEPLOYMENT))) + .addMethod( + getCreateApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_CREATE_API_DEPLOYMENT))) + .addMethod( + getUpdateApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_UPDATE_API_DEPLOYMENT))) + .addMethod( + getDeleteApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_API_DEPLOYMENT))) + .addMethod( + getTagApiDeploymentRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_TAG_API_DEPLOYMENT_REVISION))) + .addMethod( + getListApiDeploymentRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>( + this, METHODID_LIST_API_DEPLOYMENT_REVISIONS))) + .addMethod( + getRollbackApiDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_ROLLBACK_API_DEPLOYMENT))) + .addMethod( + getDeleteApiDeploymentRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, + com.google.cloud.apigeeregistry.v1.ApiDeployment>( + this, METHODID_DELETE_API_DEPLOYMENT_REVISION))) + .addMethod( + getListArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>( + this, METHODID_LIST_ARTIFACTS))) + .addMethod( + getGetArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>(this, METHODID_GET_ARTIFACT))) + .addMethod( + getGetArtifactContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, + com.google.api.HttpBody>(this, METHODID_GET_ARTIFACT_CONTENTS))) + .addMethod( + getCreateArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>(this, METHODID_CREATE_ARTIFACT))) + .addMethod( + getReplaceArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, + com.google.cloud.apigeeregistry.v1.Artifact>( + this, METHODID_REPLACE_ARTIFACT))) + .addMethod( + getDeleteArtifactMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_ARTIFACT))) + .build(); + } + } + + /** + * + * + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryStub extends io.grpc.stub.AbstractAsyncStub { + private RegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns matching APIs.
+     * 
+ */ + public void listApis( + com.google.cloud.apigeeregistry.v1.ListApisRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApisMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns a specified API.
+     * 
+ */ + public void getApi( + com.google.cloud.apigeeregistry.v1.GetApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a specified API.
+     * 
+ */ + public void createApi( + com.google.cloud.apigeeregistry.v1.CreateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified API.
+     * 
+ */ + public void updateApi( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public void deleteApi( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns matching versions.
+     * 
+ */ + public void listApiVersions( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a specified version.
+     * 
+ */ + public void getApiVersion( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a specified version.
+     * 
+ */ + public void createApiVersion( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified version.
+     * 
+ */ + public void updateApiVersion( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public void deleteApiVersion( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns matching specs.
+     * 
+ */ + public void listApiSpecs( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a specified spec.
+     * 
+ */ + public void getApiSpec( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getApiSpecContents( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a specified spec.
+     * 
+ */ + public void createApiSpec( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified spec.
+     * 
+ */ + public void updateApiSpec( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiSpec( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public void tagApiSpecRevision( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiSpecRevisions( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiSpec( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public void deleteApiSpecRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns matching deployments.
+     * 
+ */ + public void listApiDeployments( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a specified deployment.
+     * 
+ */ + public void getApiDeployment( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a specified deployment.
+     * 
+ */ + public void createApiDeployment( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public void updateApiDeployment( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public void deleteApiDeployment( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public void tagApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public void listApiDeploymentRevisions( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public void rollbackApiDeployment( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public void deleteApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns matching artifacts.
+     * 
+ */ + public void listArtifacts( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns a specified artifact.
+     * 
+ */ + public void getArtifact( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetArtifactMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public void getArtifactContents( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a specified artifact.
+     * 
+ */ + public void createArtifact( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public void replaceArtifact( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Removes a specified artifact.
+     * 
+ */ + public void deleteArtifact( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private RegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns matching APIs.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApisResponse listApis( + com.google.cloud.apigeeregistry.v1.ListApisRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApisMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api getApi( + com.google.cloud.apigeeregistry.v1.GetApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api createApi( + com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Used to modify a specified API.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Api updateApi( + com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public com.google.protobuf.Empty deleteApi( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns matching versions.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse listApiVersions( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion createApiVersion( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Used to modify a specified version.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiVersion updateApiVersion( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public com.google.protobuf.Empty deleteApiVersion( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns matching specs.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse listApiSpecs( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiSpecsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec( + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiSpecMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.api.HttpBody getApiSpecContents( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiSpecContentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec createApiSpec( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiSpecMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Used to modify a specified spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec updateApiSpec( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiSpecMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public com.google.protobuf.Empty deleteApiSpec( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiSpecMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec tagApiSpecRevision( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTagApiSpecRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse listApiSpecRevisions( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiSpecRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec rollbackApiSpec( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackApiSpecMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiSpec deleteApiSpecRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiSpecRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns matching deployments.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse listApiDeployments( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiDeploymentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetApiDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment createApiDeployment( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateApiDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment updateApiDeployment( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateApiDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public com.google.protobuf.Empty deleteApiDeployment( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment tagApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTagApiDeploymentRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + listApiDeploymentRevisions( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListApiDeploymentRevisionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment rollbackApiDeployment( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackApiDeploymentMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ApiDeployment deleteApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteApiDeploymentRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns matching artifacts.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse listArtifacts( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact getArtifact( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetArtifactMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.api.HttpBody getArtifactContents( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetArtifactContentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact createArtifact( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateArtifactMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public com.google.cloud.apigeeregistry.v1.Artifact replaceArtifact( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReplaceArtifactMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Removes a specified artifact.
+     * 
+ */ + public com.google.protobuf.Empty deleteArtifact( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteArtifactMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Registry service allows teams to manage descriptions of APIs.
+   * 
+ */ + public static final class RegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private RegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RegistryFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns matching APIs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApisResponse> + listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApisMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Api> + getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Api> + createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Used to modify a specified API.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Api> + updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a specified API and all of the resources that it
+     * owns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteApi( + com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns matching versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse> + listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiVersion> + getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiVersion> + createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Used to modify a specified version.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiVersion> + updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a specified version and all of the resources that
+     * it owns.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns matching specs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse> + listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a specified spec.
+     * If specs are stored with GZip compression, the default behavior
+     * is to return the spec uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Used to modify a specified spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a specified spec, all revisions, and all child
+     * resources (e.g., artifacts).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all revisions of a spec.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse> + listApiSpecRevisions( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior revision.
+     * Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a revision of a spec.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiSpec> + deleteApiSpecRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns matching deployments.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse> + listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Used to modify a specified deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a specified deployment, all revisions, and all
+     * child resources (e.g., artifacts).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Adds a tag to a specified revision of a
+     * deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + tagApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all revisions of a deployment.
+     * Revisions are returned in descending order of revision creation time.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse> + listApiDeploymentRevisions( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the current revision to a specified prior
+     * revision. Note that this creates a new revision with a new revision ID.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + rollbackApiDeployment( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a revision of a deployment.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ApiDeployment> + deleteApiDeploymentRevision( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns matching artifacts.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse> + listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Artifact> + getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a specified artifact.
+     * If artifacts are stored with GZip compression, the default behavior
+     * is to return the artifact uncompressed (the mime_type response field
+     * indicates the exact format returned).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Artifact> + createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Used to replace a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.apigeeregistry.v1.Artifact> + replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Removes a specified artifact.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_APIS = 0; + private static final int METHODID_GET_API = 1; + private static final int METHODID_CREATE_API = 2; + private static final int METHODID_UPDATE_API = 3; + private static final int METHODID_DELETE_API = 4; + private static final int METHODID_LIST_API_VERSIONS = 5; + private static final int METHODID_GET_API_VERSION = 6; + private static final int METHODID_CREATE_API_VERSION = 7; + private static final int METHODID_UPDATE_API_VERSION = 8; + private static final int METHODID_DELETE_API_VERSION = 9; + private static final int METHODID_LIST_API_SPECS = 10; + private static final int METHODID_GET_API_SPEC = 11; + private static final int METHODID_GET_API_SPEC_CONTENTS = 12; + private static final int METHODID_CREATE_API_SPEC = 13; + private static final int METHODID_UPDATE_API_SPEC = 14; + private static final int METHODID_DELETE_API_SPEC = 15; + private static final int METHODID_TAG_API_SPEC_REVISION = 16; + private static final int METHODID_LIST_API_SPEC_REVISIONS = 17; + private static final int METHODID_ROLLBACK_API_SPEC = 18; + private static final int METHODID_DELETE_API_SPEC_REVISION = 19; + private static final int METHODID_LIST_API_DEPLOYMENTS = 20; + private static final int METHODID_GET_API_DEPLOYMENT = 21; + private static final int METHODID_CREATE_API_DEPLOYMENT = 22; + private static final int METHODID_UPDATE_API_DEPLOYMENT = 23; + private static final int METHODID_DELETE_API_DEPLOYMENT = 24; + private static final int METHODID_TAG_API_DEPLOYMENT_REVISION = 25; + private static final int METHODID_LIST_API_DEPLOYMENT_REVISIONS = 26; + private static final int METHODID_ROLLBACK_API_DEPLOYMENT = 27; + private static final int METHODID_DELETE_API_DEPLOYMENT_REVISION = 28; + private static final int METHODID_LIST_ARTIFACTS = 29; + private static final int METHODID_GET_ARTIFACT = 30; + private static final int METHODID_GET_ARTIFACT_CONTENTS = 31; + private static final int METHODID_CREATE_ARTIFACT = 32; + private static final int METHODID_REPLACE_ARTIFACT = 33; + private static final int METHODID_DELETE_ARTIFACT = 34; + + 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 RegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(RegistryImplBase 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_APIS: + serviceImpl.listApis( + (com.google.cloud.apigeeregistry.v1.ListApisRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_API: + serviceImpl.getApi( + (com.google.cloud.apigeeregistry.v1.GetApiRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_API: + serviceImpl.createApi( + (com.google.cloud.apigeeregistry.v1.CreateApiRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_API: + serviceImpl.updateApi( + (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API: + serviceImpl.deleteApi( + (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_VERSIONS: + serviceImpl.listApiVersions( + (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>) + responseObserver); + break; + case METHODID_GET_API_VERSION: + serviceImpl.getApiVersion( + (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_API_VERSION: + serviceImpl.createApiVersion( + (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_API_VERSION: + serviceImpl.updateApiVersion( + (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API_VERSION: + serviceImpl.deleteApiVersion( + (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_API_SPECS: + serviceImpl.listApiSpecs( + (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_API_SPEC: + serviceImpl.getApiSpec( + (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_API_SPEC_CONTENTS: + serviceImpl.getApiSpecContents( + (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_API_SPEC: + serviceImpl.createApiSpec( + (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_API_SPEC: + serviceImpl.updateApiSpec( + (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API_SPEC: + serviceImpl.deleteApiSpec( + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TAG_API_SPEC_REVISION: + serviceImpl.tagApiSpecRevision( + (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_API_SPEC_REVISIONS: + serviceImpl.listApiSpecRevisions( + (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>) + responseObserver); + break; + case METHODID_ROLLBACK_API_SPEC: + serviceImpl.rollbackApiSpec( + (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API_SPEC_REVISION: + serviceImpl.deleteApiSpecRevision( + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_API_DEPLOYMENTS: + serviceImpl.listApiDeployments( + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>) + responseObserver); + break; + case METHODID_GET_API_DEPLOYMENT: + serviceImpl.getApiDeployment( + (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_API_DEPLOYMENT: + serviceImpl.createApiDeployment( + (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_API_DEPLOYMENT: + serviceImpl.updateApiDeployment( + (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API_DEPLOYMENT: + serviceImpl.deleteApiDeployment( + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TAG_API_DEPLOYMENT_REVISION: + serviceImpl.tagApiDeploymentRevision( + (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_API_DEPLOYMENT_REVISIONS: + serviceImpl.listApiDeploymentRevisions( + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>) + responseObserver); + break; + case METHODID_ROLLBACK_API_DEPLOYMENT: + serviceImpl.rollbackApiDeployment( + (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_API_DEPLOYMENT_REVISION: + serviceImpl.deleteApiDeploymentRevision( + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_ARTIFACTS: + serviceImpl.listArtifacts( + (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>) + responseObserver); + break; + case METHODID_GET_ARTIFACT: + serviceImpl.getArtifact( + (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ARTIFACT_CONTENTS: + serviceImpl.getArtifactContents( + (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ARTIFACT: + serviceImpl.createArtifact( + (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REPLACE_ARTIFACT: + serviceImpl.replaceArtifact( + (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ARTIFACT: + serviceImpl.deleteArtifact( + (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) 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 RegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + RegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Registry"); + } + } + + private static final class RegistryFileDescriptorSupplier extends RegistryBaseDescriptorSupplier { + RegistryFileDescriptorSupplier() {} + } + + private static final class RegistryMethodDescriptorSupplier extends RegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + RegistryMethodDescriptorSupplier(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 (RegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RegistryFileDescriptorSupplier()) + .addMethod(getListApisMethod()) + .addMethod(getGetApiMethod()) + .addMethod(getCreateApiMethod()) + .addMethod(getUpdateApiMethod()) + .addMethod(getDeleteApiMethod()) + .addMethod(getListApiVersionsMethod()) + .addMethod(getGetApiVersionMethod()) + .addMethod(getCreateApiVersionMethod()) + .addMethod(getUpdateApiVersionMethod()) + .addMethod(getDeleteApiVersionMethod()) + .addMethod(getListApiSpecsMethod()) + .addMethod(getGetApiSpecMethod()) + .addMethod(getGetApiSpecContentsMethod()) + .addMethod(getCreateApiSpecMethod()) + .addMethod(getUpdateApiSpecMethod()) + .addMethod(getDeleteApiSpecMethod()) + .addMethod(getTagApiSpecRevisionMethod()) + .addMethod(getListApiSpecRevisionsMethod()) + .addMethod(getRollbackApiSpecMethod()) + .addMethod(getDeleteApiSpecRevisionMethod()) + .addMethod(getListApiDeploymentsMethod()) + .addMethod(getGetApiDeploymentMethod()) + .addMethod(getCreateApiDeploymentMethod()) + .addMethod(getUpdateApiDeploymentMethod()) + .addMethod(getDeleteApiDeploymentMethod()) + .addMethod(getTagApiDeploymentRevisionMethod()) + .addMethod(getListApiDeploymentRevisionsMethod()) + .addMethod(getRollbackApiDeploymentMethod()) + .addMethod(getDeleteApiDeploymentRevisionMethod()) + .addMethod(getListArtifactsMethod()) + .addMethod(getGetArtifactMethod()) + .addMethod(getGetArtifactContentsMethod()) + .addMethod(getCreateArtifactMethod()) + .addMethod(getReplaceArtifactMethod()) + .addMethod(getDeleteArtifactMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java deleted file mode 100644 index ba2124b..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningGrpc.java +++ /dev/null @@ -1,480 +0,0 @@ -package com.google.cloud.apigeeregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The service that is used for managing the data plane provisioning of the
- * Registry.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/apigeeregistry/v1/provisioning_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ProvisioningGrpc { - - private ProvisioningGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Provisioning"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInstanceMethod() { - io.grpc.MethodDescriptor getCreateInstanceMethod; - if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getCreateInstanceMethod = ProvisioningGrpc.getCreateInstanceMethod) == null) { - ProvisioningGrpc.getCreateInstanceMethod = getCreateInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getDeleteInstanceMethod = ProvisioningGrpc.getDeleteInstanceMethod) == null) { - ProvisioningGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { - synchronized (ProvisioningGrpc.class) { - if ((getGetInstanceMethod = ProvisioningGrpc.getGetInstanceMethod) == null) { - ProvisioningGrpc.getGetInstanceMethod = getGetInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new ProvisioningMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ProvisioningStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningStub(channel, callOptions); - } - }; - return ProvisioningStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ProvisioningBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningBlockingStub(channel, callOptions); - } - }; - return ProvisioningBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ProvisioningFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ProvisioningFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningFutureStub(channel, callOptions); - } - }; - return ProvisioningFutureStub.newStub(factory, channel); - } - - /** - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static abstract class ProvisioningImplBase implements io.grpc.BindableService { - - /** - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public void createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes the Registry instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetInstanceRequest, - com.google.cloud.apigeeregistry.v1.Instance>( - this, METHODID_GET_INSTANCE))) - .build(); - } - } - - /** - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningStub extends io.grpc.stub.AbstractAsyncStub { - private ProvisioningStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningStub(channel, callOptions); - } - - /** - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public void createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the Registry instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ProvisioningBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningBlockingStub(channel, callOptions); - } - - /** - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the Registry instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Instance getInstance(com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The service that is used for managing the data plane provisioning of the
-   * Registry.
-   * 
- */ - public static final class ProvisioningFutureStub extends io.grpc.stub.AbstractFutureStub { - private ProvisioningFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ProvisioningFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ProvisioningFutureStub(channel, callOptions); - } - - /** - *
-     * Provisions instance resources for the Registry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the Registry instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_INSTANCE = 0; - private static final int METHODID_DELETE_INSTANCE = 1; - private static final int METHODID_GET_INSTANCE = 2; - - 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 ProvisioningImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ProvisioningImplBase 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_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.apigeeregistry.v1.GetInstanceRequest) 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 ProvisioningBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ProvisioningBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Provisioning"); - } - } - - private static final class ProvisioningFileDescriptorSupplier - extends ProvisioningBaseDescriptorSupplier { - ProvisioningFileDescriptorSupplier() {} - } - - private static final class ProvisioningMethodDescriptorSupplier - extends ProvisioningBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ProvisioningMethodDescriptorSupplier(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 (ProvisioningGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ProvisioningFileDescriptorSupplier()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getGetInstanceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java deleted file mode 100644 index c8ce679..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RegistryGrpc.java +++ /dev/null @@ -1,3287 +0,0 @@ -package com.google.cloud.apigeeregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Registry service allows teams to manage descriptions of APIs.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/apigeeregistry/v1/registry_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RegistryGrpc { - - private RegistryGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.apigeeregistry.v1.Registry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListApisMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApis", - requestType = com.google.cloud.apigeeregistry.v1.ListApisRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApisResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApisMethod() { - io.grpc.MethodDescriptor getListApisMethod; - if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApisMethod = RegistryGrpc.getListApisMethod) == null) { - RegistryGrpc.getListApisMethod = getListApisMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApis")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApis")) - .build(); - } - } - } - return getListApisMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApi", - requestType = com.google.cloud.apigeeregistry.v1.GetApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetApiMethod() { - io.grpc.MethodDescriptor getGetApiMethod; - if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiMethod = RegistryGrpc.getGetApiMethod) == null) { - RegistryGrpc.getGetApiMethod = getGetApiMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApi")) - .build(); - } - } - } - return getGetApiMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApi", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateApiMethod() { - io.grpc.MethodDescriptor getCreateApiMethod; - if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiMethod = RegistryGrpc.getCreateApiMethod) == null) { - RegistryGrpc.getCreateApiMethod = getCreateApiMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApi")) - .build(); - } - } - } - return getCreateApiMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApi", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Api.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateApiMethod() { - io.grpc.MethodDescriptor getUpdateApiMethod; - if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiMethod = RegistryGrpc.getUpdateApiMethod) == null) { - RegistryGrpc.getUpdateApiMethod = getUpdateApiMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApi")) - .build(); - } - } - } - return getUpdateApiMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApi", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiMethod() { - io.grpc.MethodDescriptor getDeleteApiMethod; - if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiMethod = RegistryGrpc.getDeleteApiMethod) == null) { - RegistryGrpc.getDeleteApiMethod = getDeleteApiMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApi")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApi")) - .build(); - } - } - } - return getDeleteApiMethod; - } - - private static volatile io.grpc.MethodDescriptor getListApiVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiVersions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApiVersionsMethod() { - io.grpc.MethodDescriptor getListApiVersionsMethod; - if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiVersionsMethod = RegistryGrpc.getListApiVersionsMethod) == null) { - RegistryGrpc.getListApiVersionsMethod = getListApiVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiVersions")) - .build(); - } - } - } - return getListApiVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetApiVersionMethod() { - io.grpc.MethodDescriptor getGetApiVersionMethod; - if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiVersionMethod = RegistryGrpc.getGetApiVersionMethod) == null) { - RegistryGrpc.getGetApiVersionMethod = getGetApiVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiVersion")) - .build(); - } - } - } - return getGetApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateApiVersionMethod() { - io.grpc.MethodDescriptor getCreateApiVersionMethod; - if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiVersionMethod = RegistryGrpc.getCreateApiVersionMethod) == null) { - RegistryGrpc.getCreateApiVersionMethod = getCreateApiVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiVersion")) - .build(); - } - } - } - return getCreateApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiVersion.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateApiVersionMethod() { - io.grpc.MethodDescriptor getUpdateApiVersionMethod; - if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiVersionMethod = RegistryGrpc.getUpdateApiVersionMethod) == null) { - RegistryGrpc.getUpdateApiVersionMethod = getUpdateApiVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiVersion")) - .build(); - } - } - } - return getUpdateApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiVersion", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiVersionMethod() { - io.grpc.MethodDescriptor getDeleteApiVersionMethod; - if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiVersionMethod = RegistryGrpc.getDeleteApiVersionMethod) == null) { - RegistryGrpc.getDeleteApiVersionMethod = getDeleteApiVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiVersion")) - .build(); - } - } - } - return getDeleteApiVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListApiSpecsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiSpecs", - requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApiSpecsMethod() { - io.grpc.MethodDescriptor getListApiSpecsMethod; - if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiSpecsMethod = RegistryGrpc.getListApiSpecsMethod) == null) { - RegistryGrpc.getListApiSpecsMethod = getListApiSpecsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecs")) - .build(); - } - } - } - return getListApiSpecsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetApiSpecMethod() { - io.grpc.MethodDescriptor getGetApiSpecMethod; - if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiSpecMethod = RegistryGrpc.getGetApiSpecMethod) == null) { - RegistryGrpc.getGetApiSpecMethod = getGetApiSpecMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpec")) - .build(); - } - } - } - return getGetApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetApiSpecContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiSpecContents", - requestType = com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, - responseType = com.google.api.HttpBody.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetApiSpecContentsMethod() { - io.grpc.MethodDescriptor getGetApiSpecContentsMethod; - if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiSpecContentsMethod = RegistryGrpc.getGetApiSpecContentsMethod) == null) { - RegistryGrpc.getGetApiSpecContentsMethod = getGetApiSpecContentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiSpecContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.HttpBody.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiSpecContents")) - .build(); - } - } - } - return getGetApiSpecContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateApiSpecMethod() { - io.grpc.MethodDescriptor getCreateApiSpecMethod; - if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiSpecMethod = RegistryGrpc.getCreateApiSpecMethod) == null) { - RegistryGrpc.getCreateApiSpecMethod = getCreateApiSpecMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiSpec")) - .build(); - } - } - } - return getCreateApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateApiSpecMethod() { - io.grpc.MethodDescriptor getUpdateApiSpecMethod; - if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiSpecMethod = RegistryGrpc.getUpdateApiSpecMethod) == null) { - RegistryGrpc.getUpdateApiSpecMethod = getUpdateApiSpecMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiSpec")) - .build(); - } - } - } - return getUpdateApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiSpecMethod() { - io.grpc.MethodDescriptor getDeleteApiSpecMethod; - if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiSpecMethod = RegistryGrpc.getDeleteApiSpecMethod) == null) { - RegistryGrpc.getDeleteApiSpecMethod = getDeleteApiSpecMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpec")) - .build(); - } - } - } - return getDeleteApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor getTagApiSpecRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TagApiSpecRevision", - requestType = com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTagApiSpecRevisionMethod() { - io.grpc.MethodDescriptor getTagApiSpecRevisionMethod; - if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getTagApiSpecRevisionMethod = RegistryGrpc.getTagApiSpecRevisionMethod) == null) { - RegistryGrpc.getTagApiSpecRevisionMethod = getTagApiSpecRevisionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiSpecRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("TagApiSpecRevision")) - .build(); - } - } - } - return getTagApiSpecRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListApiSpecRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiSpecRevisions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApiSpecRevisionsMethod() { - io.grpc.MethodDescriptor getListApiSpecRevisionsMethod; - if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiSpecRevisionsMethod = RegistryGrpc.getListApiSpecRevisionsMethod) == null) { - RegistryGrpc.getListApiSpecRevisionsMethod = getListApiSpecRevisionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiSpecRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiSpecRevisions")) - .build(); - } - } - } - return getListApiSpecRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackApiSpecMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackApiSpec", - requestType = com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackApiSpecMethod() { - io.grpc.MethodDescriptor getRollbackApiSpecMethod; - if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getRollbackApiSpecMethod = RegistryGrpc.getRollbackApiSpecMethod) == null) { - RegistryGrpc.getRollbackApiSpecMethod = getRollbackApiSpecMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiSpec")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiSpec")) - .build(); - } - } - } - return getRollbackApiSpecMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiSpecRevision", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiSpec.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod() { - io.grpc.MethodDescriptor getDeleteApiSpecRevisionMethod; - if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiSpecRevisionMethod = RegistryGrpc.getDeleteApiSpecRevisionMethod) == null) { - RegistryGrpc.getDeleteApiSpecRevisionMethod = getDeleteApiSpecRevisionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiSpecRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiSpecRevision")) - .build(); - } - } - } - return getDeleteApiSpecRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListApiDeploymentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiDeployments", - requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApiDeploymentsMethod() { - io.grpc.MethodDescriptor getListApiDeploymentsMethod; - if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiDeploymentsMethod = RegistryGrpc.getListApiDeploymentsMethod) == null) { - RegistryGrpc.getListApiDeploymentsMethod = getListApiDeploymentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeployments")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiDeployments")) - .build(); - } - } - } - return getListApiDeploymentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetApiDeploymentMethod() { - io.grpc.MethodDescriptor getGetApiDeploymentMethod; - if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetApiDeploymentMethod = RegistryGrpc.getGetApiDeploymentMethod) == null) { - RegistryGrpc.getGetApiDeploymentMethod = getGetApiDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetApiDeployment")) - .build(); - } - } - } - return getGetApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateApiDeploymentMethod() { - io.grpc.MethodDescriptor getCreateApiDeploymentMethod; - if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateApiDeploymentMethod = RegistryGrpc.getCreateApiDeploymentMethod) == null) { - RegistryGrpc.getCreateApiDeploymentMethod = getCreateApiDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateApiDeployment")) - .build(); - } - } - } - return getCreateApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateApiDeploymentMethod() { - io.grpc.MethodDescriptor getUpdateApiDeploymentMethod; - if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getUpdateApiDeploymentMethod = RegistryGrpc.getUpdateApiDeploymentMethod) == null) { - RegistryGrpc.getUpdateApiDeploymentMethod = getUpdateApiDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("UpdateApiDeployment")) - .build(); - } - } - } - return getUpdateApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiDeploymentMethod() { - io.grpc.MethodDescriptor getDeleteApiDeploymentMethod; - if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiDeploymentMethod = RegistryGrpc.getDeleteApiDeploymentMethod) == null) { - RegistryGrpc.getDeleteApiDeploymentMethod = getDeleteApiDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiDeployment")) - .build(); - } - } - } - return getDeleteApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TagApiDeploymentRevision", - requestType = com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod() { - io.grpc.MethodDescriptor getTagApiDeploymentRevisionMethod; - if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getTagApiDeploymentRevisionMethod = RegistryGrpc.getTagApiDeploymentRevisionMethod) == null) { - RegistryGrpc.getTagApiDeploymentRevisionMethod = getTagApiDeploymentRevisionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TagApiDeploymentRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("TagApiDeploymentRevision")) - .build(); - } - } - } - return getTagApiDeploymentRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListApiDeploymentRevisions", - requestType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod() { - io.grpc.MethodDescriptor getListApiDeploymentRevisionsMethod; - if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListApiDeploymentRevisionsMethod = RegistryGrpc.getListApiDeploymentRevisionsMethod) == null) { - RegistryGrpc.getListApiDeploymentRevisionsMethod = getListApiDeploymentRevisionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListApiDeploymentRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListApiDeploymentRevisions")) - .build(); - } - } - } - return getListApiDeploymentRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackApiDeploymentMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackApiDeployment", - requestType = com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackApiDeploymentMethod() { - io.grpc.MethodDescriptor getRollbackApiDeploymentMethod; - if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getRollbackApiDeploymentMethod = RegistryGrpc.getRollbackApiDeploymentMethod) == null) { - RegistryGrpc.getRollbackApiDeploymentMethod = getRollbackApiDeploymentMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackApiDeployment")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("RollbackApiDeployment")) - .build(); - } - } - } - return getRollbackApiDeploymentMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteApiDeploymentRevision", - requestType = com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ApiDeployment.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod() { - io.grpc.MethodDescriptor getDeleteApiDeploymentRevisionMethod; - if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteApiDeploymentRevisionMethod = RegistryGrpc.getDeleteApiDeploymentRevisionMethod) == null) { - RegistryGrpc.getDeleteApiDeploymentRevisionMethod = getDeleteApiDeploymentRevisionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteApiDeploymentRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteApiDeploymentRevision")) - .build(); - } - } - } - return getDeleteApiDeploymentRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListArtifacts", - requestType = com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListArtifactsMethod() { - io.grpc.MethodDescriptor getListArtifactsMethod; - if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getListArtifactsMethod = RegistryGrpc.getListArtifactsMethod) == null) { - RegistryGrpc.getListArtifactsMethod = getListArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ListArtifacts")) - .build(); - } - } - } - return getListArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetArtifact", - requestType = com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetArtifactMethod() { - io.grpc.MethodDescriptor getGetArtifactMethod; - if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetArtifactMethod = RegistryGrpc.getGetArtifactMethod) == null) { - RegistryGrpc.getGetArtifactMethod = getGetArtifactMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifact")) - .build(); - } - } - } - return getGetArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetArtifactContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetArtifactContents", - requestType = com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, - responseType = com.google.api.HttpBody.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetArtifactContentsMethod() { - io.grpc.MethodDescriptor getGetArtifactContentsMethod; - if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getGetArtifactContentsMethod = RegistryGrpc.getGetArtifactContentsMethod) == null) { - RegistryGrpc.getGetArtifactContentsMethod = getGetArtifactContentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetArtifactContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.api.HttpBody.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("GetArtifactContents")) - .build(); - } - } - } - return getGetArtifactContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateArtifact", - requestType = com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateArtifactMethod() { - io.grpc.MethodDescriptor getCreateArtifactMethod; - if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getCreateArtifactMethod = RegistryGrpc.getCreateArtifactMethod) == null) { - RegistryGrpc.getCreateArtifactMethod = getCreateArtifactMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("CreateArtifact")) - .build(); - } - } - } - return getCreateArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor getReplaceArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReplaceArtifact", - requestType = com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, - responseType = com.google.cloud.apigeeregistry.v1.Artifact.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getReplaceArtifactMethod() { - io.grpc.MethodDescriptor getReplaceArtifactMethod; - if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getReplaceArtifactMethod = RegistryGrpc.getReplaceArtifactMethod) == null) { - RegistryGrpc.getReplaceArtifactMethod = getReplaceArtifactMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("ReplaceArtifact")) - .build(); - } - } - } - return getReplaceArtifactMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteArtifactMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteArtifact", - requestType = com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteArtifactMethod() { - io.grpc.MethodDescriptor getDeleteArtifactMethod; - if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { - synchronized (RegistryGrpc.class) { - if ((getDeleteArtifactMethod = RegistryGrpc.getDeleteArtifactMethod) == null) { - RegistryGrpc.getDeleteArtifactMethod = getDeleteArtifactMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteArtifact")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new RegistryMethodDescriptorSupplier("DeleteArtifact")) - .build(); - } - } - } - return getDeleteArtifactMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static RegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryStub(channel, callOptions); - } - }; - return RegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static RegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryBlockingStub(channel, callOptions); - } - }; - return RegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static RegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryFutureStub(channel, callOptions); - } - }; - return RegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static abstract class RegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Returns matching APIs.
-     * 
- */ - public void listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApisMethod(), responseObserver); - } - - /** - *
-     * Returns a specified API.
-     * 
- */ - public void getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiMethod(), responseObserver); - } - - /** - *
-     * Creates a specified API.
-     * 
- */ - public void createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiMethod(), responseObserver); - } - - /** - *
-     * Used to modify a specified API.
-     * 
- */ - public void updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiMethod(), responseObserver); - } - - /** - *
-     * Removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public void deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiMethod(), responseObserver); - } - - /** - *
-     * Returns matching versions.
-     * 
- */ - public void listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiVersionsMethod(), responseObserver); - } - - /** - *
-     * Returns a specified version.
-     * 
- */ - public void getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiVersionMethod(), responseObserver); - } - - /** - *
-     * Creates a specified version.
-     * 
- */ - public void createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiVersionMethod(), responseObserver); - } - - /** - *
-     * Used to modify a specified version.
-     * 
- */ - public void updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiVersionMethod(), responseObserver); - } - - /** - *
-     * Removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public void deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiVersionMethod(), responseObserver); - } - - /** - *
-     * Returns matching specs.
-     * 
- */ - public void listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiSpecsMethod(), responseObserver); - } - - /** - *
-     * Returns a specified spec.
-     * 
- */ - public void getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiSpecContentsMethod(), responseObserver); - } - - /** - *
-     * Creates a specified spec.
-     * 
- */ - public void createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiSpecMethod(), responseObserver); - } - - /** - *
-     * Used to modify a specified spec.
-     * 
- */ - public void updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiSpecMethod(), responseObserver); - } - - /** - *
-     * Removes a specified spec, all revisions, and all child
-     * resources (e.g., artifacts).
-     * 
- */ - public void deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiSpecMethod(), responseObserver); - } - - /** - *
-     * Adds a tag to a specified revision of a spec.
-     * 
- */ - public void tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTagApiSpecRevisionMethod(), responseObserver); - } - - /** - *
-     * Lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiSpecRevisionsMethod(), responseObserver); - } - - /** - *
-     * Sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackApiSpecMethod(), responseObserver); - } - - /** - *
-     * Deletes a revision of a spec.
-     * 
- */ - public void deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiSpecRevisionMethod(), responseObserver); - } - - /** - *
-     * Returns matching deployments.
-     * 
- */ - public void listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiDeploymentsMethod(), responseObserver); - } - - /** - *
-     * Returns a specified deployment.
-     * 
- */ - public void getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetApiDeploymentMethod(), responseObserver); - } - - /** - *
-     * Creates a specified deployment.
-     * 
- */ - public void createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateApiDeploymentMethod(), responseObserver); - } - - /** - *
-     * Used to modify a specified deployment.
-     * 
- */ - public void updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateApiDeploymentMethod(), responseObserver); - } - - /** - *
-     * Removes a specified deployment, all revisions, and all
-     * child resources (e.g., artifacts).
-     * 
- */ - public void deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiDeploymentMethod(), responseObserver); - } - - /** - *
-     * Adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public void tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTagApiDeploymentRevisionMethod(), responseObserver); - } - - /** - *
-     * Lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListApiDeploymentRevisionsMethod(), responseObserver); - } - - /** - *
-     * Sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackApiDeploymentMethod(), responseObserver); - } - - /** - *
-     * Deletes a revision of a deployment.
-     * 
- */ - public void deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteApiDeploymentRevisionMethod(), responseObserver); - } - - /** - *
-     * Returns matching artifacts.
-     * 
- */ - public void listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListArtifactsMethod(), responseObserver); - } - - /** - *
-     * Returns a specified artifact.
-     * 
- */ - public void getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetArtifactMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetArtifactContentsMethod(), responseObserver); - } - - /** - *
-     * Creates a specified artifact.
-     * 
- */ - public void createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateArtifactMethod(), responseObserver); - } - - /** - *
-     * Used to replace a specified artifact.
-     * 
- */ - public void replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceArtifactMethod(), responseObserver); - } - - /** - *
-     * Removes a specified artifact.
-     * 
- */ - public void deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteArtifactMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListApisMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApisRequest, - com.google.cloud.apigeeregistry.v1.ListApisResponse>( - this, METHODID_LIST_APIS))) - .addMethod( - getGetApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiRequest, - com.google.cloud.apigeeregistry.v1.Api>( - this, METHODID_GET_API))) - .addMethod( - getCreateApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiRequest, - com.google.cloud.apigeeregistry.v1.Api>( - this, METHODID_CREATE_API))) - .addMethod( - getUpdateApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiRequest, - com.google.cloud.apigeeregistry.v1.Api>( - this, METHODID_UPDATE_API))) - .addMethod( - getDeleteApiMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_API))) - .addMethod( - getListApiVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse>( - this, METHODID_LIST_API_VERSIONS))) - .addMethod( - getGetApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_GET_API_VERSION))) - .addMethod( - getCreateApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_CREATE_API_VERSION))) - .addMethod( - getUpdateApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest, - com.google.cloud.apigeeregistry.v1.ApiVersion>( - this, METHODID_UPDATE_API_VERSION))) - .addMethod( - getDeleteApiVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_API_VERSION))) - .addMethod( - getListApiSpecsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse>( - this, METHODID_LIST_API_SPECS))) - .addMethod( - getGetApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_GET_API_SPEC))) - .addMethod( - getGetApiSpecContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest, - com.google.api.HttpBody>( - this, METHODID_GET_API_SPEC_CONTENTS))) - .addMethod( - getCreateApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_CREATE_API_SPEC))) - .addMethod( - getUpdateApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_UPDATE_API_SPEC))) - .addMethod( - getDeleteApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_API_SPEC))) - .addMethod( - getTagApiSpecRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_TAG_API_SPEC_REVISION))) - .addMethod( - getListApiSpecRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>( - this, METHODID_LIST_API_SPEC_REVISIONS))) - .addMethod( - getRollbackApiSpecMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_ROLLBACK_API_SPEC))) - .addMethod( - getDeleteApiSpecRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiSpec>( - this, METHODID_DELETE_API_SPEC_REVISION))) - .addMethod( - getListApiDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>( - this, METHODID_LIST_API_DEPLOYMENTS))) - .addMethod( - getGetApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_GET_API_DEPLOYMENT))) - .addMethod( - getCreateApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_CREATE_API_DEPLOYMENT))) - .addMethod( - getUpdateApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_UPDATE_API_DEPLOYMENT))) - .addMethod( - getDeleteApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_API_DEPLOYMENT))) - .addMethod( - getTagApiDeploymentRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_TAG_API_DEPLOYMENT_REVISION))) - .addMethod( - getListApiDeploymentRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest, - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>( - this, METHODID_LIST_API_DEPLOYMENT_REVISIONS))) - .addMethod( - getRollbackApiDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_ROLLBACK_API_DEPLOYMENT))) - .addMethod( - getDeleteApiDeploymentRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest, - com.google.cloud.apigeeregistry.v1.ApiDeployment>( - this, METHODID_DELETE_API_DEPLOYMENT_REVISION))) - .addMethod( - getListArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest, - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse>( - this, METHODID_LIST_ARTIFACTS))) - .addMethod( - getGetArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>( - this, METHODID_GET_ARTIFACT))) - .addMethod( - getGetArtifactContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest, - com.google.api.HttpBody>( - this, METHODID_GET_ARTIFACT_CONTENTS))) - .addMethod( - getCreateArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>( - this, METHODID_CREATE_ARTIFACT))) - .addMethod( - getReplaceArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest, - com.google.cloud.apigeeregistry.v1.Artifact>( - this, METHODID_REPLACE_ARTIFACT))) - .addMethod( - getDeleteArtifactMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_ARTIFACT))) - .build(); - } - } - - /** - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryStub extends io.grpc.stub.AbstractAsyncStub { - private RegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryStub(channel, callOptions); - } - - /** - *
-     * Returns matching APIs.
-     * 
- */ - public void listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApisMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a specified API.
-     * 
- */ - public void getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a specified API.
-     * 
- */ - public void createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Used to modify a specified API.
-     * 
- */ - public void updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public void deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns matching versions.
-     * 
- */ - public void listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a specified version.
-     * 
- */ - public void getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a specified version.
-     * 
- */ - public void createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Used to modify a specified version.
-     * 
- */ - public void updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public void deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns matching specs.
-     * 
- */ - public void listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a specified spec.
-     * 
- */ - public void getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a specified spec.
-     * 
- */ - public void createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Used to modify a specified spec.
-     * 
- */ - public void updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a specified spec, all revisions, and all child
-     * resources (e.g., artifacts).
-     * 
- */ - public void deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Adds a tag to a specified revision of a spec.
-     * 
- */ - public void tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a revision of a spec.
-     * 
- */ - public void deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns matching deployments.
-     * 
- */ - public void listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a specified deployment.
-     * 
- */ - public void getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a specified deployment.
-     * 
- */ - public void createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Used to modify a specified deployment.
-     * 
- */ - public void updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a specified deployment, all revisions, and all
-     * child resources (e.g., artifacts).
-     * 
- */ - public void deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public void tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public void listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public void rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a revision of a deployment.
-     * 
- */ - public void deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns matching artifacts.
-     * 
- */ - public void listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a specified artifact.
-     * 
- */ - public void getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public void getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a specified artifact.
-     * 
- */ - public void createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Used to replace a specified artifact.
-     * 
- */ - public void replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Removes a specified artifact.
-     * 
- */ - public void deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private RegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Returns matching APIs.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApisResponse listApis(com.google.cloud.apigeeregistry.v1.ListApisRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApisMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api getApi(com.google.cloud.apigeeregistry.v1.GetApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api createApi(com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiMethod(), getCallOptions(), request); - } - - /** - *
-     * Used to modify a specified API.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Api updateApi(com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public com.google.protobuf.Empty deleteApi(com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns matching versions.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse listApiVersions(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion createApiVersion(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Used to modify a specified version.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiVersion updateApiVersion(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public com.google.protobuf.Empty deleteApiVersion(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns matching specs.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse listApiSpecs(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiSpecsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiSpecMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.api.HttpBody getApiSpecContents(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiSpecContentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec createApiSpec(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiSpecMethod(), getCallOptions(), request); - } - - /** - *
-     * Used to modify a specified spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec updateApiSpec(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiSpecMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a specified spec, all revisions, and all child
-     * resources (e.g., artifacts).
-     * 
- */ - public com.google.protobuf.Empty deleteApiSpec(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiSpecMethod(), getCallOptions(), request); - } - - /** - *
-     * Adds a tag to a specified revision of a spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec tagApiSpecRevision(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTagApiSpecRevisionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse listApiSpecRevisions(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiSpecRevisionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec rollbackApiSpec(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackApiSpecMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a revision of a spec.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiSpec deleteApiSpecRevision(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiSpecRevisionMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns matching deployments.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse listApiDeployments(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiDeploymentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetApiDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment createApiDeployment(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateApiDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Used to modify a specified deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment updateApiDeployment(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateApiDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a specified deployment, all revisions, and all
-     * child resources (e.g., artifacts).
-     * 
- */ - public com.google.protobuf.Empty deleteApiDeployment(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment tagApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTagApiDeploymentRevisionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse listApiDeploymentRevisions(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListApiDeploymentRevisionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment rollbackApiDeployment(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackApiDeploymentMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a revision of a deployment.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ApiDeployment deleteApiDeploymentRevision(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteApiDeploymentRevisionMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns matching artifacts.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse listArtifacts(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact getArtifact(com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetArtifactMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.api.HttpBody getArtifactContents(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetArtifactContentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact createArtifact(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateArtifactMethod(), getCallOptions(), request); - } - - /** - *
-     * Used to replace a specified artifact.
-     * 
- */ - public com.google.cloud.apigeeregistry.v1.Artifact replaceArtifact(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReplaceArtifactMethod(), getCallOptions(), request); - } - - /** - *
-     * Removes a specified artifact.
-     * 
- */ - public com.google.protobuf.Empty deleteArtifact(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteArtifactMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Registry service allows teams to manage descriptions of APIs.
-   * 
- */ - public static final class RegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private RegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Returns matching APIs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApis( - com.google.cloud.apigeeregistry.v1.ListApisRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApisMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getApi( - com.google.cloud.apigeeregistry.v1.GetApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createApi( - com.google.cloud.apigeeregistry.v1.CreateApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiMethod(), getCallOptions()), request); - } - - /** - *
-     * Used to modify a specified API.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateApi( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a specified API and all of the resources that it
-     * owns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApi( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns matching versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApiVersions( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getApiVersion( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createApiVersion( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Used to modify a specified version.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateApiVersion( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a specified version and all of the resources that
-     * it owns.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApiVersion( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns matching specs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApiSpecs( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiSpecsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getApiSpec( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiSpecMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a specified spec.
-     * If specs are stored with GZip compression, the default behavior
-     * is to return the spec uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getApiSpecContents( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiSpecContentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createApiSpec( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiSpecMethod(), getCallOptions()), request); - } - - /** - *
-     * Used to modify a specified spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateApiSpec( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiSpecMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a specified spec, all revisions, and all child
-     * resources (e.g., artifacts).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApiSpec( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiSpecMethod(), getCallOptions()), request); - } - - /** - *
-     * Adds a tag to a specified revision of a spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture tagApiSpecRevision( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTagApiSpecRevisionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all revisions of a spec.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApiSpecRevisions( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiSpecRevisionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the current revision to a specified prior revision.
-     * Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackApiSpec( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackApiSpecMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a revision of a spec.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApiSpecRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiSpecRevisionMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns matching deployments.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApiDeployments( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiDeploymentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getApiDeployment( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetApiDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createApiDeployment( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateApiDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Used to modify a specified deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateApiDeployment( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateApiDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a specified deployment, all revisions, and all
-     * child resources (e.g., artifacts).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApiDeployment( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Adds a tag to a specified revision of a
-     * deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture tagApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTagApiDeploymentRevisionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all revisions of a deployment.
-     * Revisions are returned in descending order of revision creation time.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listApiDeploymentRevisions( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListApiDeploymentRevisionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the current revision to a specified prior
-     * revision. Note that this creates a new revision with a new revision ID.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackApiDeployment( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackApiDeploymentMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a revision of a deployment.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteApiDeploymentRevision( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteApiDeploymentRevisionMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns matching artifacts.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listArtifacts( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getArtifact( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetArtifactMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a specified artifact.
-     * If artifacts are stored with GZip compression, the default behavior
-     * is to return the artifact uncompressed (the mime_type response field
-     * indicates the exact format returned).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getArtifactContents( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetArtifactContentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createArtifact( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateArtifactMethod(), getCallOptions()), request); - } - - /** - *
-     * Used to replace a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture replaceArtifact( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReplaceArtifactMethod(), getCallOptions()), request); - } - - /** - *
-     * Removes a specified artifact.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteArtifact( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteArtifactMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_APIS = 0; - private static final int METHODID_GET_API = 1; - private static final int METHODID_CREATE_API = 2; - private static final int METHODID_UPDATE_API = 3; - private static final int METHODID_DELETE_API = 4; - private static final int METHODID_LIST_API_VERSIONS = 5; - private static final int METHODID_GET_API_VERSION = 6; - private static final int METHODID_CREATE_API_VERSION = 7; - private static final int METHODID_UPDATE_API_VERSION = 8; - private static final int METHODID_DELETE_API_VERSION = 9; - private static final int METHODID_LIST_API_SPECS = 10; - private static final int METHODID_GET_API_SPEC = 11; - private static final int METHODID_GET_API_SPEC_CONTENTS = 12; - private static final int METHODID_CREATE_API_SPEC = 13; - private static final int METHODID_UPDATE_API_SPEC = 14; - private static final int METHODID_DELETE_API_SPEC = 15; - private static final int METHODID_TAG_API_SPEC_REVISION = 16; - private static final int METHODID_LIST_API_SPEC_REVISIONS = 17; - private static final int METHODID_ROLLBACK_API_SPEC = 18; - private static final int METHODID_DELETE_API_SPEC_REVISION = 19; - private static final int METHODID_LIST_API_DEPLOYMENTS = 20; - private static final int METHODID_GET_API_DEPLOYMENT = 21; - private static final int METHODID_CREATE_API_DEPLOYMENT = 22; - private static final int METHODID_UPDATE_API_DEPLOYMENT = 23; - private static final int METHODID_DELETE_API_DEPLOYMENT = 24; - private static final int METHODID_TAG_API_DEPLOYMENT_REVISION = 25; - private static final int METHODID_LIST_API_DEPLOYMENT_REVISIONS = 26; - private static final int METHODID_ROLLBACK_API_DEPLOYMENT = 27; - private static final int METHODID_DELETE_API_DEPLOYMENT_REVISION = 28; - private static final int METHODID_LIST_ARTIFACTS = 29; - private static final int METHODID_GET_ARTIFACT = 30; - private static final int METHODID_GET_ARTIFACT_CONTENTS = 31; - private static final int METHODID_CREATE_ARTIFACT = 32; - private static final int METHODID_REPLACE_ARTIFACT = 33; - private static final int METHODID_DELETE_ARTIFACT = 34; - - 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 RegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(RegistryImplBase 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_APIS: - serviceImpl.listApis((com.google.cloud.apigeeregistry.v1.ListApisRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_API: - serviceImpl.getApi((com.google.cloud.apigeeregistry.v1.GetApiRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_API: - serviceImpl.createApi((com.google.cloud.apigeeregistry.v1.CreateApiRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_API: - serviceImpl.updateApi((com.google.cloud.apigeeregistry.v1.UpdateApiRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API: - serviceImpl.deleteApi((com.google.cloud.apigeeregistry.v1.DeleteApiRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_VERSIONS: - serviceImpl.listApiVersions((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_API_VERSION: - serviceImpl.getApiVersion((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_API_VERSION: - serviceImpl.createApiVersion((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_API_VERSION: - serviceImpl.updateApiVersion((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API_VERSION: - serviceImpl.deleteApiVersion((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_SPECS: - serviceImpl.listApiSpecs((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_API_SPEC: - serviceImpl.getApiSpec((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_API_SPEC_CONTENTS: - serviceImpl.getApiSpecContents((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_API_SPEC: - serviceImpl.createApiSpec((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_API_SPEC: - serviceImpl.updateApiSpec((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API_SPEC: - serviceImpl.deleteApiSpec((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TAG_API_SPEC_REVISION: - serviceImpl.tagApiSpecRevision((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_SPEC_REVISIONS: - serviceImpl.listApiSpecRevisions((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_API_SPEC: - serviceImpl.rollbackApiSpec((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API_SPEC_REVISION: - serviceImpl.deleteApiSpecRevision((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_DEPLOYMENTS: - serviceImpl.listApiDeployments((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_API_DEPLOYMENT: - serviceImpl.getApiDeployment((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_API_DEPLOYMENT: - serviceImpl.createApiDeployment((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_API_DEPLOYMENT: - serviceImpl.updateApiDeployment((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API_DEPLOYMENT: - serviceImpl.deleteApiDeployment((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TAG_API_DEPLOYMENT_REVISION: - serviceImpl.tagApiDeploymentRevision((com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_API_DEPLOYMENT_REVISIONS: - serviceImpl.listApiDeploymentRevisions((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_API_DEPLOYMENT: - serviceImpl.rollbackApiDeployment((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_API_DEPLOYMENT_REVISION: - serviceImpl.deleteApiDeploymentRevision((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ARTIFACTS: - serviceImpl.listArtifacts((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ARTIFACT: - serviceImpl.getArtifact((com.google.cloud.apigeeregistry.v1.GetArtifactRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ARTIFACT_CONTENTS: - serviceImpl.getArtifactContents((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ARTIFACT: - serviceImpl.createArtifact((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REPLACE_ARTIFACT: - serviceImpl.replaceArtifact((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ARTIFACT: - serviceImpl.deleteArtifact((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) 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 RegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - RegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Registry"); - } - } - - private static final class RegistryFileDescriptorSupplier - extends RegistryBaseDescriptorSupplier { - RegistryFileDescriptorSupplier() {} - } - - private static final class RegistryMethodDescriptorSupplier - extends RegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - RegistryMethodDescriptorSupplier(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 (RegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RegistryFileDescriptorSupplier()) - .addMethod(getListApisMethod()) - .addMethod(getGetApiMethod()) - .addMethod(getCreateApiMethod()) - .addMethod(getUpdateApiMethod()) - .addMethod(getDeleteApiMethod()) - .addMethod(getListApiVersionsMethod()) - .addMethod(getGetApiVersionMethod()) - .addMethod(getCreateApiVersionMethod()) - .addMethod(getUpdateApiVersionMethod()) - .addMethod(getDeleteApiVersionMethod()) - .addMethod(getListApiSpecsMethod()) - .addMethod(getGetApiSpecMethod()) - .addMethod(getGetApiSpecContentsMethod()) - .addMethod(getCreateApiSpecMethod()) - .addMethod(getUpdateApiSpecMethod()) - .addMethod(getDeleteApiSpecMethod()) - .addMethod(getTagApiSpecRevisionMethod()) - .addMethod(getListApiSpecRevisionsMethod()) - .addMethod(getRollbackApiSpecMethod()) - .addMethod(getDeleteApiSpecRevisionMethod()) - .addMethod(getListApiDeploymentsMethod()) - .addMethod(getGetApiDeploymentMethod()) - .addMethod(getCreateApiDeploymentMethod()) - .addMethod(getUpdateApiDeploymentMethod()) - .addMethod(getDeleteApiDeploymentMethod()) - .addMethod(getTagApiDeploymentRevisionMethod()) - .addMethod(getListApiDeploymentRevisionsMethod()) - .addMethod(getRollbackApiDeploymentMethod()) - .addMethod(getDeleteApiDeploymentRevisionMethod()) - .addMethod(getListArtifactsMethod()) - .addMethod(getGetArtifactMethod()) - .addMethod(getGetArtifactContentsMethod()) - .addMethod(getCreateArtifactMethod()) - .addMethod(getReplaceArtifactMethod()) - .addMethod(getDeleteArtifactMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java deleted file mode 100644 index 22658d3..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiDeploymentRevisionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java deleted file mode 100644 index 2d0912c..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java +++ /dev/null @@ -1,42 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the API to delete.
-   * Format: `projects/*/locations/*/apis/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the API to delete.
-   * Format: `projects/*/locations/*/apis/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * If set to true, any child resources will also be deleted.
-   * (Otherwise, the request will only work if there are no child resources.)
-   * 
- * - * bool force = 2; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java deleted file mode 100644 index 00e35b8..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java +++ /dev/null @@ -1,35 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteApiSpecRevisionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the spec revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the spec revision to be deleted,
-   * with a revision ID explicitly included.
-   * Example:
-   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java deleted file mode 100644 index 6ae4b19..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteArtifactRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the artifact to delete.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the artifact to delete.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 9daaec0..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface DeleteInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Instance to delete.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Instance to delete.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java deleted file mode 100644 index 207f159..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the deployment to retrieve.
-   * Format: `projects/*/locations/*/apis/*/deployments/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the deployment to retrieve.
-   * Format: `projects/*/locations/*/apis/*/deployments/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java deleted file mode 100644 index 8224a30..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the API to retrieve.
-   * Format: `projects/*/locations/*/apis/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the API to retrieve.
-   * Format: `projects/*/locations/*/apis/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java deleted file mode 100644 index 49e39e6..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiSpecContentsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the spec whose contents should be retrieved.
-   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the spec whose contents should be retrieved.
-   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java deleted file mode 100644 index 94de445..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiSpecRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the spec to retrieve.
-   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the spec to retrieve.
-   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java deleted file mode 100644 index 68a28f7..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetApiVersionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiVersionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the version to retrieve.
-   * Format: `projects/*/locations/*/apis/*/versions/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the version to retrieve.
-   * Format: `projects/*/locations/*/apis/*/versions/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java deleted file mode 100644 index 5d9e641..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetArtifactContentsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the artifact whose contents should be retrieved.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the artifact whose contents should be retrieved.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java deleted file mode 100644 index 479cb91..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/registry_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetArtifactRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the artifact to retrieve.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the artifact to retrieve.
-   * Format: `{parent}/artifacts/*`
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java deleted file mode 100644 index e9724db..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public interface GetInstanceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the Instance to retrieve.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the Instance to retrieve.
-   * Format: `projects/*/locations/*/instances/*`.
-   * 
- * - * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java deleted file mode 100644 index f5117eb..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java +++ /dev/null @@ -1,184 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/apigeeregistry/v1/provisioning_service.proto - -package com.google.cloud.apigeeregistry.v1; - -public final class ProvisioningServiceProto { - private ProvisioningServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_apigeeregistry_v1_Instance_Config_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/cloud/apigeeregistry/v1/provisi" + - "oning_service.proto\022\036google.cloud.apigee" + - "registry.v1\032\034google/api/annotations.prot" + - "o\032\027google/api/client.proto\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032#google/longrunning/operations.pr" + - "oto\032\037google/protobuf/timestamp.proto\"\255\001\n" + - "\025CreateInstanceRequest\0229\n\006parent\030\001 \001(\tB)" + - "\340A\002\372A#\n!locations.googleapis.com/Locatio" + - "n\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\022?\n\010instance\030" + - "\003 \001(\0132(.google.cloud.apigeeregistry.v1.I" + - "nstanceB\003\340A\002\"U\n\025DeleteInstanceRequest\022<\n" + - "\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.goog" + - "leapis.com/Instance\"R\n\022GetInstanceReques" + - "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry." + - "googleapis.com/Instance\"\335\001\n\021OperationMet" + - "adata\022/\n\013create_time\030\001 \001(\0132\032.google.prot" + - "obuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.googl" + - "e.protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004" + - "verb\030\004 \001(\t\022\026\n\016status_message\030\005 \001(\t\022\036\n\026ca" + - "ncellation_requested\030\006 \001(\010\022\023\n\013api_versio" + - "n\030\007 \001(\t\"\302\004\n\010Instance\022\014\n\004name\030\001 \001(\t\0224\n\013cr" + - "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + - "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + - "rotobuf.TimestampB\003\340A\003\022B\n\005state\030\004 \001(\0162.." + - "google.cloud.apigeeregistry.v1.Instance." + - "StateB\003\340A\003\022\032\n\rstate_message\030\005 \001(\tB\003\340A\003\022D" + - "\n\006config\030\006 \001(\0132/.google.cloud.apigeeregi" + - "stry.v1.Instance.ConfigB\003\340A\002\032;\n\006Config\022\025" + - "\n\010location\030\001 \001(\tB\003\340A\003\022\032\n\rcmek_key_name\030\002" + - " \001(\tB\003\340A\002\"n\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + - "\000\022\014\n\010INACTIVE\020\001\022\014\n\010CREATING\020\002\022\n\n\006ACTIVE\020" + - "\003\022\014\n\010UPDATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020" + - "\006:i\352Af\n&apigeeregistry.googleapis.com/In" + - "stance\022.google.cloud.apige" + - "eregistry.v1.ApiDeployment.AnnotationsEn" + - "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + - "\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:}\352Az\n+apigeeregis" + - "try.googleapis.com/ApiDeployment\022Kprojec" + - "ts/{project}/locations/{location}/apis/{" + - "api}/deployments/{deployment}\"\267\005\n\010Artifa" + - "ct\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032." + - "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + - "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\022\021\n\tmime_type\030\004 \001(\t\022\027\n\nsize_bytes\030\005 " + - "\001(\005B\003\340A\003\022\021\n\004hash\030\006 \001(\tB\003\340A\003\022\025\n\010contents\030" + - "\007 \001(\014B\003\340A\004:\332\003\352A\326\003\n&apigeeregistry.google" + - "apis.com/Artifact\022\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + - "apigeeregistry.googleapis.com/ApiVersion" + - "\"\276\001\n\027CreateApiVersionRequest\022@\n\006parent\030\001" + - " \001(\tB0\340A\002\372A*\022(apigeeregistry.googleapis." + - "com/ApiVersion\022D\n\013api_version\030\002 \001(\0132*.go" + - "ogle.cloud.apigeeregistry.v1.ApiVersionB" + - "\003\340A\002\022\033\n\016api_version_id\030\003 \001(\tB\003\340A\002\"\247\001\n\027Up" + - "dateApiVersionRequest\022D\n\013api_version\030\001 \001" + - "(\0132*.google.cloud.apigeeregistry.v1.ApiV" + - "ersionB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMask\022\025\n\rallow_missing\030\003 " + - "\001(\010\"h\n\027DeleteApiVersionRequest\022>\n\004name\030\001" + - " \001(\tB0\340A\002\372A*\n(apigeeregistry.googleapis." + - "com/ApiVersion\022\r\n\005force\030\002 \001(\010\"\213\001\n\023ListAp" + - "iSpecsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%a" + - "pigeeregistry.googleapis.com/ApiSpec\022\021\n\t" + - "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + - "ilter\030\004 \001(\t\"k\n\024ListApiSpecsResponse\022:\n\ta" + - "pi_specs\030\001 \003(\0132\'.google.cloud.apigeeregi" + - "stry.v1.ApiSpec\022\027\n\017next_page_token\030\002 \001(\t" + - "\"P\n\021GetApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + - "\372A\'\n%apigeeregistry.googleapis.com/ApiSp" + - "ec\"X\n\031GetApiSpecContentsRequest\022;\n\004name\030" + - "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + - ".com/ApiSpec\"\257\001\n\024CreateApiSpecRequest\022=\n" + - "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%apigeeregistry.go" + - "ogleapis.com/ApiSpec\022>\n\010api_spec\030\002 \001(\0132\'" + - ".google.cloud.apigeeregistry.v1.ApiSpecB" + - "\003\340A\002\022\030\n\013api_spec_id\030\003 \001(\tB\003\340A\002\"\236\001\n\024Updat" + - "eApiSpecRequest\022>\n\010api_spec\030\001 \001(\0132\'.goog" + - "le.cloud.apigeeregistry.v1.ApiSpecB\003\340A\002\022" + - "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMask\022\025\n\rallow_missing\030\003 \001(\010\"b\n\024Delet" + - "eApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + - "pigeeregistry.googleapis.com/ApiSpec\022\r\n\005" + - "force\030\002 \001(\010\"j\n\031TagApiSpecRevisionRequest" + - "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.g" + - "oogleapis.com/ApiSpec\022\020\n\003tag\030\002 \001(\tB\003\340A\002\"" + - "\201\001\n\033ListApiSpecRevisionsRequest\022;\n\004name\030" + - "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + - ".com/ApiSpec\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\"s\n\034ListApiSpecRevisionsRespo" + - "nse\022:\n\tapi_specs\030\001 \003(\0132\'.google.cloud.ap" + - "igeeregistry.v1.ApiSpec\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"o\n\026RollbackApiSpecRequest\022;\n\004na" + - "me\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googlea" + - "pis.com/ApiSpec\022\030\n\013revision_id\030\002 \001(\tB\003\340A" + - "\002\"[\n\034DeleteApiSpecRevisionRequest\022;\n\004nam" + - "e\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleap" + - "is.com/ApiSpec\"\227\001\n\031ListApiDeploymentsReq" + - "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+apigeeregi" + - "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + - "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" + - "er\030\004 \001(\t\"}\n\032ListApiDeploymentsResponse\022F" + - "\n\017api_deployments\030\001 \003(\0132-.google.cloud.a" + - "pigeeregistry.v1.ApiDeployment\022\027\n\017next_p" + - "age_token\030\002 \001(\t\"\\\n\027GetApiDeploymentReque" + - "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry" + - ".googleapis.com/ApiDeployment\"\315\001\n\032Create" + - "ApiDeploymentRequest\022C\n\006parent\030\001 \001(\tB3\340A" + - "\002\372A-\022+apigeeregistry.googleapis.com/ApiD" + - "eployment\022J\n\016api_deployment\030\002 \001(\0132-.goog" + - "le.cloud.apigeeregistry.v1.ApiDeployment" + - "B\003\340A\002\022\036\n\021api_deployment_id\030\003 \001(\tB\003\340A\002\"\260\001" + - "\n\032UpdateApiDeploymentRequest\022J\n\016api_depl" + - "oyment\030\001 \001(\0132-.google.cloud.apigeeregist" + - "ry.v1.ApiDeploymentB\003\340A\002\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\022\025\n\rall" + - "ow_missing\030\003 \001(\010\"n\n\032DeleteApiDeploymentR" + - "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + - "stry.googleapis.com/ApiDeployment\022\r\n\005for" + - "ce\030\002 \001(\010\"v\n\037TagApiDeploymentRevisionRequ" + - "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistr" + - "y.googleapis.com/ApiDeployment\022\020\n\003tag\030\002 " + - "\001(\tB\003\340A\002\"\215\001\n!ListApiDeploymentRevisionsR" + - "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + - "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + - "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\205\001\n\"Lis" + - "tApiDeploymentRevisionsResponse\022F\n\017api_d" + - "eployments\030\001 \003(\0132-.google.cloud.apigeere" + - "gistry.v1.ApiDeployment\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"{\n\034RollbackApiDeploymentRequest" + - "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry.g" + - "oogleapis.com/ApiDeployment\022\030\n\013revision_" + - "id\030\002 \001(\tB\003\340A\002\"g\n\"DeleteApiDeploymentRevi" + - "sionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apige" + - "eregistry.googleapis.com/ApiDeployment\"\215" + - "\001\n\024ListArtifactsRequest\022>\n\006parent\030\001 \001(\tB" + - ".\340A\002\372A(\022&apigeeregistry.googleapis.com/A" + - "rtifact\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + - "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"m\n\025ListArtifactsR" + - "esponse\022;\n\tartifacts\030\001 \003(\0132(.google.clou" + - "d.apigeeregistry.v1.Artifact\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"R\n\022GetArtifactRequest\022<\n\004n" + - "ame\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.google" + - "apis.com/Artifact\"Z\n\032GetArtifactContents" + - "Request\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeereg" + - "istry.googleapis.com/Artifact\"\262\001\n\025Create" + - "ArtifactRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022" + - "&apigeeregistry.googleapis.com/Artifact\022" + - "?\n\010artifact\030\002 \001(\0132(.google.cloud.apigeer" + - "egistry.v1.ArtifactB\003\340A\002\022\030\n\013artifact_id\030" + - "\003 \001(\tB\003\340A\002\"Y\n\026ReplaceArtifactRequest\022?\n\010" + - "artifact\030\001 \001(\0132(.google.cloud.apigeeregi" + - "stry.v1.ArtifactB\003\340A\002\"U\n\025DeleteArtifactR" + - "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregi" + - "stry.googleapis.com/Artifact2\300E\n\010Registr" + - "y\022\250\001\n\010ListApis\022/.google.cloud.apigeeregi" + - "stry.v1.ListApisRequest\0320.google.cloud.a" + - "pigeeregistry.v1.ListApisResponse\"9\202\323\344\223\002" + - "*\022(/v1/{parent=projects/*/locations/*}/a" + - "pis\332A\006parent\022\225\001\n\006GetApi\022-.google.cloud.a" + - "pigeeregistry.v1.GetApiRequest\032#.google." + - "cloud.apigeeregistry.v1.Api\"7\202\323\344\223\002*\022(/v1" + - "/{name=projects/*/locations/*/apis/*}\332A\004" + - "name\022\255\001\n\tCreateApi\0220.google.cloud.apigee" + - "registry.v1.CreateApiRequest\032#.google.cl" + - "oud.apigeeregistry.v1.Api\"I\202\323\344\223\002/\"(/v1/{" + - "parent=projects/*/locations/*}/apis:\003api" + - "\332A\021parent,api,api_id\022\257\001\n\tUpdateApi\0220.goo" + - "gle.cloud.apigeeregistry.v1.UpdateApiReq" + - "uest\032#.google.cloud.apigeeregistry.v1.Ap" + - "i\"K\202\323\344\223\00232,/v1/{api.name=projects/*/loca" + - "tions/*/apis/*}:\003api\332A\017api,update_mask\022\216" + - "\001\n\tDeleteApi\0220.google.cloud.apigeeregist" + - "ry.v1.DeleteApiRequest\032\026.google.protobuf" + - ".Empty\"7\202\323\344\223\002**(/v1/{name=projects/*/loc" + - "ations/*/apis/*}\332A\004name\022\310\001\n\017ListApiVersi" + - "ons\0226.google.cloud.apigeeregistry.v1.Lis" + - "tApiVersionsRequest\0327.google.cloud.apige" + - "eregistry.v1.ListApiVersionsResponse\"D\202\323" + - "\344\223\0025\0223/v1/{parent=projects/*/locations/*" + - "/apis/*}/versions\332A\006parent\022\265\001\n\rGetApiVer" + - "sion\0224.google.cloud.apigeeregistry.v1.Ge" + - "tApiVersionRequest\032*.google.cloud.apigee" + - "registry.v1.ApiVersion\"B\202\323\344\223\0025\0223/v1/{nam" + - "e=projects/*/locations/*/apis/*/versions" + - "/*}\332A\004name\022\345\001\n\020CreateApiVersion\0227.google" + - ".cloud.apigeeregistry.v1.CreateApiVersio" + - "nRequest\032*.google.cloud.apigeeregistry.v" + - "1.ApiVersion\"l\202\323\344\223\002B\"3/v1/{parent=projec" + - "ts/*/locations/*/apis/*}/versions:\013api_v" + - "ersion\332A!parent,api_version,api_version_" + - "id\022\347\001\n\020UpdateApiVersion\0227.google.cloud.a" + - "pigeeregistry.v1.UpdateApiVersionRequest" + - "\032*.google.cloud.apigeeregistry.v1.ApiVer" + - "sion\"n\202\323\344\223\002N2?/v1/{api_version.name=proj" + - "ects/*/locations/*/apis/*/versions/*}:\013a" + - "pi_version\332A\027api_version,update_mask\022\247\001\n" + - "\020DeleteApiVersion\0227.google.cloud.apigeer" + - "egistry.v1.DeleteApiVersionRequest\032\026.goo" + - "gle.protobuf.Empty\"B\202\323\344\223\0025*3/v1/{name=pr" + - "ojects/*/locations/*/apis/*/versions/*}\332" + - "A\004name\022\307\001\n\014ListApiSpecs\0223.google.cloud.a" + - "pigeeregistry.v1.ListApiSpecsRequest\0324.g" + - "oogle.cloud.apigeeregistry.v1.ListApiSpe" + - "csResponse\"L\202\323\344\223\002=\022;/v1/{parent=projects" + - "/*/locations/*/apis/*/versions/*}/specs\332" + - "A\006parent\022\264\001\n\nGetApiSpec\0221.google.cloud.a" + - "pigeeregistry.v1.GetApiSpecRequest\032\'.goo" + - "gle.cloud.apigeeregistry.v1.ApiSpec\"J\202\323\344" + - "\223\002=\022;/v1/{name=projects/*/locations/*/ap" + - "is/*/versions/*/specs/*}\332A\004name\022\275\001\n\022GetA" + - "piSpecContents\0229.google.cloud.apigeeregi" + - "stry.v1.GetApiSpecContentsRequest\032\024.goog" + - "le.api.HttpBody\"V\202\323\344\223\002I\022G/v1/{name=proje" + - "cts/*/locations/*/apis/*/versions/*/spec" + - "s/*}:getContents\332A\004name\022\333\001\n\rCreateApiSpe" + - "c\0224.google.cloud.apigeeregistry.v1.Creat" + - "eApiSpecRequest\032\'.google.cloud.apigeereg" + - "istry.v1.ApiSpec\"k\202\323\344\223\002G\";/v1/{parent=pr" + - "ojects/*/locations/*/apis/*/versions/*}/" + - "specs:\010api_spec\332A\033parent,api_spec,api_sp" + - "ec_id\022\335\001\n\rUpdateApiSpec\0224.google.cloud.a" + - "pigeeregistry.v1.UpdateApiSpecRequest\032\'." + - "google.cloud.apigeeregistry.v1.ApiSpec\"m" + - "\202\323\344\223\002P2D/v1/{api_spec.name=projects/*/lo" + - "cations/*/apis/*/versions/*/specs/*}:\010ap" + - "i_spec\332A\024api_spec,update_mask\022\251\001\n\rDelete" + - "ApiSpec\0224.google.cloud.apigeeregistry.v1" + - ".DeleteApiSpecRequest\032\026.google.protobuf." + - "Empty\"J\202\323\344\223\002=*;/v1/{name=projects/*/loca" + - "tions/*/apis/*/versions/*/specs/*}\332A\004nam" + - "e\022\314\001\n\022TagApiSpecRevision\0229.google.cloud." + - "apigeeregistry.v1.TagApiSpecRevisionRequ" + - "est\032\'.google.cloud.apigeeregistry.v1.Api" + - "Spec\"R\202\323\344\223\002L\"G/v1/{name=projects/*/locat" + - "ions/*/apis/*/versions/*/specs/*}:tagRev" + - "ision:\001*\022\344\001\n\024ListApiSpecRevisions\022;.goog" + - "le.cloud.apigeeregistry.v1.ListApiSpecRe" + - "visionsRequest\032<.google.cloud.apigeeregi" + - "stry.v1.ListApiSpecRevisionsResponse\"Q\202\323" + - "\344\223\002K\022I/v1/{name=projects/*/locations/*/a" + - "pis/*/versions/*/specs/*}:listRevisions\022" + - "\303\001\n\017RollbackApiSpec\0226.google.cloud.apige" + - "eregistry.v1.RollbackApiSpecRequest\032\'.go" + - "ogle.cloud.apigeeregistry.v1.ApiSpec\"O\202\323" + - "\344\223\002I\"D/v1/{name=projects/*/locations/*/a" + - "pis/*/versions/*/specs/*}:rollback:\001*\022\331\001" + - "\n\025DeleteApiSpecRevision\022<.google.cloud.a" + - "pigeeregistry.v1.DeleteApiSpecRevisionRe" + - "quest\032\'.google.cloud.apigeeregistry.v1.A" + - "piSpec\"Y\202\323\344\223\002L*J/v1/{name=projects/*/loc" + - "ations/*/apis/*/versions/*/specs/*}:dele" + - "teRevision\332A\004name\022\324\001\n\022ListApiDeployments" + - "\0229.google.cloud.apigeeregistry.v1.ListAp" + - "iDeploymentsRequest\032:.google.cloud.apige" + - "eregistry.v1.ListApiDeploymentsResponse\"" + - "G\202\323\344\223\0028\0226/v1/{parent=projects/*/location" + - "s/*/apis/*}/deployments\332A\006parent\022\301\001\n\020Get" + - "ApiDeployment\0227.google.cloud.apigeeregis" + - "try.v1.GetApiDeploymentRequest\032-.google." + - "cloud.apigeeregistry.v1.ApiDeployment\"E\202" + - "\323\344\223\0028\0226/v1/{name=projects/*/locations/*/" + - "apis/*/deployments/*}\332A\004name\022\372\001\n\023CreateA" + - "piDeployment\022:.google.cloud.apigeeregist" + - "ry.v1.CreateApiDeploymentRequest\032-.googl" + - "e.cloud.apigeeregistry.v1.ApiDeployment\"" + - "x\202\323\344\223\002H\"6/v1/{parent=projects/*/location" + - "s/*/apis/*}/deployments:\016api_deployment\332" + - "A\'parent,api_deployment,api_deployment_i" + - "d\022\374\001\n\023UpdateApiDeployment\022:.google.cloud" + - ".apigeeregistry.v1.UpdateApiDeploymentRe" + - "quest\032-.google.cloud.apigeeregistry.v1.A" + - "piDeployment\"z\202\323\344\223\002W2E/v1/{api_deploymen" + - "t.name=projects/*/locations/*/apis/*/dep" + - "loyments/*}:\016api_deployment\332A\032api_deploy" + - "ment,update_mask\022\260\001\n\023DeleteApiDeployment" + - "\022:.google.cloud.apigeeregistry.v1.Delete" + - "ApiDeploymentRequest\032\026.google.protobuf.E" + - "mpty\"E\202\323\344\223\0028*6/v1/{name=projects/*/locat" + - "ions/*/apis/*/deployments/*}\332A\004name\022\331\001\n\030" + - "TagApiDeploymentRevision\022?.google.cloud." + - "apigeeregistry.v1.TagApiDeploymentRevisi" + - "onRequest\032-.google.cloud.apigeeregistry." + - "v1.ApiDeployment\"M\202\323\344\223\002G\"B/v1/{name=proj" + - "ects/*/locations/*/apis/*/deployments/*}" + - ":tagRevision:\001*\022\361\001\n\032ListApiDeploymentRev" + - "isions\022A.google.cloud.apigeeregistry.v1." + - "ListApiDeploymentRevisionsRequest\032B.goog" + - "le.cloud.apigeeregistry.v1.ListApiDeploy" + - "mentRevisionsResponse\"L\202\323\344\223\002F\022D/v1/{name" + - "=projects/*/locations/*/apis/*/deploymen" + - "ts/*}:listRevisions\022\320\001\n\025RollbackApiDeplo" + - "yment\022<.google.cloud.apigeeregistry.v1.R" + - "ollbackApiDeploymentRequest\032-.google.clo" + - "ud.apigeeregistry.v1.ApiDeployment\"J\202\323\344\223" + - "\002D\"?/v1/{name=projects/*/locations/*/api" + - "s/*/deployments/*}:rollback:\001*\022\346\001\n\033Delet" + - "eApiDeploymentRevision\022B.google.cloud.ap" + - "igeeregistry.v1.DeleteApiDeploymentRevis" + - "ionRequest\032-.google.cloud.apigeeregistry" + - ".v1.ApiDeployment\"T\202\323\344\223\002G*E/v1/{name=pro" + - "jects/*/locations/*/apis/*/deployments/*" + - "}:deleteRevision\332A\004name\022\312\003\n\rListArtifact" + - "s\0224.google.cloud.apigeeregistry.v1.ListA" + - "rtifactsRequest\0325.google.cloud.apigeereg" + - "istry.v1.ListArtifactsResponse\"\313\002\202\323\344\223\002\273\002" + - "\022-/v1/{parent=projects/*/locations/*}/ar" + - "tifactsZ6\0224/v1/{parent=projects/*/locati" + - "ons/*/apis/*}/artifactsZA\022?/v1/{parent=p" + - "rojects/*/locations/*/apis/*/versions/*}" + - "/artifactsZI\022G/v1/{parent=projects/*/loc" + - "ations/*/apis/*/versions/*/specs/*}/arti" + - "factsZD\022B/v1/{parent=projects/*/location" + - "s/*/apis/*/deployments/*}/artifacts\332A\006pa" + - "rent\022\267\003\n\013GetArtifact\0222.google.cloud.apig" + - "eeregistry.v1.GetArtifactRequest\032(.googl" + - "e.cloud.apigeeregistry.v1.Artifact\"\311\002\202\323\344" + - "\223\002\273\002\022-/v1/{name=projects/*/locations/*/a" + - "rtifacts/*}Z6\0224/v1/{name=projects/*/loca" + - "tions/*/apis/*/artifacts/*}ZA\022?/v1/{name" + - "=projects/*/locations/*/apis/*/versions/" + - "*/artifacts/*}ZI\022G/v1/{name=projects/*/l" + - "ocations/*/apis/*/versions/*/specs/*/art" + - "ifacts/*}ZD\022B/v1/{name=projects/*/locati" + - "ons/*/apis/*/deployments/*/artifacts/*}\332" + - "A\004name\022\357\003\n\023GetArtifactContents\022:.google." + - "cloud.apigeeregistry.v1.GetArtifactConte" + - "ntsRequest\032\024.google.api.HttpBody\"\205\003\202\323\344\223\002" + - "\367\002\0229/v1/{name=projects/*/locations/*/art" + - "ifacts/*}:getContentsZB\022@/v1/{name=proje" + - "cts/*/locations/*/apis/*/artifacts/*}:ge" + - "tContentsZM\022K/v1/{name=projects/*/locati" + - "ons/*/apis/*/versions/*/artifacts/*}:get" + - "ContentsZU\022S/v1/{name=projects/*/locatio" + - "ns/*/apis/*/versions/*/specs/*/artifacts" + - "/*}:getContentsZP\022N/v1/{name=projects/*/" + - "locations/*/apis/*/deployments/*/artifac" + - "ts/*}:getContents\332A\004name\022\206\004\n\016CreateArtif" + - "act\0225.google.cloud.apigeeregistry.v1.Cre" + - "ateArtifactRequest\032(.google.cloud.apigee" + - "registry.v1.Artifact\"\222\003\202\323\344\223\002\355\002\"-/v1/{par" + - "ent=projects/*/locations/*}/artifacts:\010a" + - "rtifactZ@\"4/v1/{parent=projects/*/locati" + - "ons/*/apis/*}/artifacts:\010artifactZK\"?/v1" + - "/{parent=projects/*/locations/*/apis/*/v" + - "ersions/*}/artifacts:\010artifactZS\"G/v1/{p" + - "arent=projects/*/locations/*/apis/*/vers" + - "ions/*/specs/*}/artifacts:\010artifactZN\"B/" + - "v1/{parent=projects/*/locations/*/apis/*" + - "/deployments/*}/artifacts:\010artifact\332A\033pa" + - "rent,artifact,artifact_id\022\242\004\n\017ReplaceArt" + - "ifact\0226.google.cloud.apigeeregistry.v1.R" + - "eplaceArtifactRequest\032(.google.cloud.api" + - "geeregistry.v1.Artifact\"\254\003\202\323\344\223\002\232\003\0326/v1/{" + - "artifact.name=projects/*/locations/*/art" + - "ifacts/*}:\010artifactZI\032=/v1/{artifact.nam" + - "e=projects/*/locations/*/apis/*/artifact" + - "s/*}:\010artifactZT\032H/v1/{artifact.name=pro" + - "jects/*/locations/*/apis/*/versions/*/ar" + - "tifacts/*}:\010artifactZ\\\032P/v1/{artifact.na" + - "me=projects/*/locations/*/apis/*/version" + - "s/*/specs/*/artifacts/*}:\010artifactZW\032K/v" + - "1/{artifact.name=projects/*/locations/*/" + - "apis/*/deployments/*/artifacts/*}:\010artif" + - "act\332A\010artifact\022\253\003\n\016DeleteArtifact\0225.goog" + - "le.cloud.apigeeregistry.v1.DeleteArtifac" + - "tRequest\032\026.google.protobuf.Empty\"\311\002\202\323\344\223\002" + - "\273\002*-/v1/{name=projects/*/locations/*/art" + - "ifacts/*}Z6*4/v1/{name=projects/*/locati" + - "ons/*/apis/*/artifacts/*}ZA*?/v1/{name=p" + - "rojects/*/locations/*/apis/*/versions/*/" + - "artifacts/*}ZI*G/v1/{name=projects/*/loc" + - "ations/*/apis/*/versions/*/specs/*/artif" + - "acts/*}ZD*B/v1/{name=projects/*/location" + - "s/*/apis/*/deployments/*/artifacts/*}\332A\004" + - "name\032Q\312A\035apigeeregistry.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latformB\360\001\n\"com.google.cloud.apigeeregis" + - "try.v1B\024RegistryServiceProtoP\001ZLgoogle.g" + - "olang.org/genproto/googleapis/cloud/apig" + - "eeregistry/v1;apigeeregistry\252\002\036Google.Cl" + - "oud.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Api" + - "geeRegistry\\V1\352\002!Google::Cloud::ApigeeRe" + - "gistry::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.api.FieldBehaviorProto.getDescriptor(), - com.google.api.HttpBodyProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor, - new java.lang.String[] { "Apis", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor, - new java.lang.String[] { "Parent", "Api", "ApiId", }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor, - new java.lang.String[] { "Api", "UpdateMask", "AllowMissing", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor, - new java.lang.String[] { "ApiVersions", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor, - new java.lang.String[] { "Parent", "ApiVersion", "ApiVersionId", }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor, - new java.lang.String[] { "ApiVersion", "UpdateMask", "AllowMissing", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor, - new java.lang.String[] { "ApiSpecs", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor, - new java.lang.String[] { "Parent", "ApiSpec", "ApiSpecId", }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor, - new java.lang.String[] { "ApiSpec", "UpdateMask", "AllowMissing", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor, - new java.lang.String[] { "Name", "Tag", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor, - new java.lang.String[] { "ApiSpecs", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor, - new java.lang.String[] { "Name", "RevisionId", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor, - new java.lang.String[] { "ApiDeployments", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor, - new java.lang.String[] { "Parent", "ApiDeployment", "ApiDeploymentId", }); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor, - new java.lang.String[] { "ApiDeployment", "UpdateMask", "AllowMissing", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor, - new java.lang.String[] { "Name", "Tag", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor, - new java.lang.String[] { "ApiDeployments", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor, - new java.lang.String[] { "Name", "RevisionId", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor, - new java.lang.String[] { "Artifacts", "NextPageToken", }); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor, - new java.lang.String[] { "Parent", "Artifact", "ArtifactId", }); - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor, - new java.lang.String[] { "Artifact", }); - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.HttpBodyProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java index d694917..e2e8442 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Api.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_models.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * A top-level description of an API.
  * Produced by producers and are commitments to provide services.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.Api}
  */
-public final class Api extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Api extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Api)
     ApiOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Api.newBuilder() to construct.
   private Api(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Api() {
     name_ = "";
     displayName_ = "";
@@ -31,16 +49,15 @@ private Api() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Api();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Api(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,101 +77,113 @@ private Api(
           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 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            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 34:
+            {
+              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 42:
+            {
+              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:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            availability_ = s;
-            break;
-          }
-          case 58: {
-            java.lang.String s = input.readStringRequireUtf8();
+              availability_ = s;
+              break;
+            }
+          case 58:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            recommendedVersion_ = s;
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              recommendedVersion_ = s;
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            recommendedDeployment_ = s;
-            break;
-          }
-          case 74: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              recommendedDeployment_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 82: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              annotations_ = com.google.protobuf.MapField.newMapField(
-                  AnnotationsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+          case 74:
+            {
+              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
-            annotations__ = input.readMessage(
-                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            annotations_.getMutableMap().put(
-                annotations__.getKey(), annotations__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 82:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                annotations_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AnnotationsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry annotations__ =
+                  input.readMessage(
+                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -162,48 +191,52 @@ private Api(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_Api_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 9:
         return internalGetLabels();
       case 10:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.Api.class, com.google.cloud.apigeeregistry.v1.Api.Builder.class);
+            com.google.cloud.apigeeregistry.v1.Api.class,
+            com.google.cloud.apigeeregistry.v1.Api.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -212,29 +245,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; } } /** + * + * *
    * Resource name.
    * 
* * 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 { @@ -245,11 +278,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -258,29 +294,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; } } /** + * + * *
    * Human-meaningful name.
    * 
* * 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 { @@ -291,11 +327,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -304,29 +343,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A detailed description.
    * 
* * 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 { @@ -337,11 +376,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -349,11 +392,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -361,11 +408,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -375,11 +425,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -387,11 +441,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -399,11 +457,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -413,6 +474,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int AVAILABILITY_FIELD_NUMBER = 6; private volatile java.lang.Object availability_; /** + * + * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
@@ -420,6 +483,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string availability = 6; + * * @return The availability. */ @java.lang.Override @@ -428,14 +492,15 @@ public java.lang.String getAvailability() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; } } /** + * + * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
@@ -443,16 +508,15 @@ public java.lang.String getAvailability() {
    * 
* * string availability = 6; + * * @return The bytes for availability. */ @java.lang.Override - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -463,12 +527,15 @@ public java.lang.String getAvailability() { public static final int RECOMMENDED_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object recommendedVersion_; /** + * + * *
    * The recommended version of the API.
    * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The recommendedVersion. */ @java.lang.Override @@ -477,30 +544,30 @@ public java.lang.String getRecommendedVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedVersion_ = s; return s; } } /** + * + * *
    * The recommended version of the API.
    * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecommendedVersionBytes() { + public com.google.protobuf.ByteString getRecommendedVersionBytes() { java.lang.Object ref = recommendedVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recommendedVersion_ = b; return b; } else { @@ -511,12 +578,15 @@ public java.lang.String getRecommendedVersion() { public static final int RECOMMENDED_DEPLOYMENT_FIELD_NUMBER = 8; private volatile java.lang.Object recommendedDeployment_; /** + * + * *
    * The recommended deployment of the API.
    * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The recommendedDeployment. */ @java.lang.Override @@ -525,30 +595,30 @@ public java.lang.String getRecommendedDeployment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedDeployment_ = s; return s; } } /** + * + * *
    * The recommended deployment of the API.
    * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedDeployment. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecommendedDeploymentBytes() { + public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { java.lang.Object ref = recommendedDeployment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recommendedDeployment_ = b; return b; } else { @@ -557,24 +627,23 @@ public java.lang.String getRecommendedDeployment() { } public static final int LABELS_FIELD_NUMBER = 9; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_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.cloud.apigeeregistry.v1.RegistryModelsProto + .internal_static_google_cloud_apigeeregistry_v1_Api_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_; } @@ -583,6 +652,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -598,22 +669,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 9;
    */
-
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -630,11 +701,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 9;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -651,16 +723,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 9;
    */
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -677,12 +749,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 9;
    */
   @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();
     }
@@ -690,24 +761,24 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 10;
+
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_AnnotationsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> annotations_;
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+                .internal_static_google_cloud_apigeeregistry_v1_Api_AnnotationsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField annotations_;
+
   private com.google.protobuf.MapField
-  internalGetAnnotations() {
+      internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -716,6 +787,8 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -725,22 +798,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 10;
    */
-
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -751,11 +824,12 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
-
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -766,16 +840,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
-
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -786,12 +861,11 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 10;
    */
   @java.lang.Override
-
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -799,6 +873,7 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -810,8 +885,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -836,18 +910,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recommendedDeployment_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 8, recommendedDeployment_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        9);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAnnotations(),
-        AnnotationsDefaultEntryHolder.defaultEntry,
-        10);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 9);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 10);
     unknownFields.writeTo(output);
   }
 
@@ -867,12 +933,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(availability_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, availability_);
@@ -883,25 +947,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recommendedDeployment_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, recommendedDeployment_);
     }
-    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(9, labels__);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(10, annotations__);
+    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(9, labels__);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry annotations__ =
+          AnnotationsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -911,39 +975,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Api)) {
       return super.equals(obj);
     }
     com.google.cloud.apigeeregistry.v1.Api other = (com.google.cloud.apigeeregistry.v1.Api) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!getAvailability()
-        .equals(other.getAvailability())) return false;
-    if (!getRecommendedVersion()
-        .equals(other.getRecommendedVersion())) return false;
-    if (!getRecommendedDeployment()
-        .equals(other.getRecommendedDeployment())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(
-        other.internalGetAnnotations())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+    }
+    if (!getAvailability().equals(other.getAvailability())) return false;
+    if (!getRecommendedVersion().equals(other.getRecommendedVersion())) return false;
+    if (!getRecommendedDeployment().equals(other.getRecommendedDeployment())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -988,97 +1042,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.Api parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.Api parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Api prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 top-level description of an API.
    * Produced by producers and are commitments to provide services.
@@ -1086,47 +1147,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.Api}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Api)
       com.google.cloud.apigeeregistry.v1.ApiOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Api_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 9:
           return internalGetLabels();
         case 10:
           return internalGetAnnotations();
         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 9:
           return internalGetMutableLabels();
         case 10:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Api_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.Api.class, com.google.cloud.apigeeregistry.v1.Api.Builder.class);
+              com.google.cloud.apigeeregistry.v1.Api.class,
+              com.google.cloud.apigeeregistry.v1.Api.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.Api.newBuilder()
@@ -1134,16 +1195,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1177,9 +1237,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Api_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Api_descriptor;
     }
 
     @java.lang.Override
@@ -1198,7 +1258,8 @@ public com.google.cloud.apigeeregistry.v1.Api build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.Api buildPartial() {
-      com.google.cloud.apigeeregistry.v1.Api result = new com.google.cloud.apigeeregistry.v1.Api(this);
+      com.google.cloud.apigeeregistry.v1.Api result =
+          new com.google.cloud.apigeeregistry.v1.Api(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1228,38 +1289,39 @@ public com.google.cloud.apigeeregistry.v1.Api buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.Api) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.Api)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.Api) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1298,10 +1360,8 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.Api other) {
         recommendedDeployment_ = other.recommendedDeployment_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1330,22 +1390,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * 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; @@ -1354,20 +1417,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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 { @@ -1375,54 +1439,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * 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; @@ -1430,18 +1501,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1450,20 +1523,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1471,54 +1545,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; } /** + * + * *
      * Human-meaningful name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1526,18 +1607,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1546,20 +1629,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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 { @@ -1567,54 +1651,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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; } /** + * + * *
      * A detailed description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1622,39 +1713,58 @@ 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_; /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1670,14 +1780,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1688,17 +1801,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -1710,11 +1827,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1728,48 +1849,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1777,39 +1914,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1825,14 +1981,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1843,17 +2002,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -1865,11 +2028,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1883,48 +2050,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1932,6 +2115,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object availability_ = ""; /** + * + * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
@@ -1939,13 +2124,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string availability = 6; + * * @return The availability. */ public java.lang.String getAvailability() { java.lang.Object ref = availability_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); availability_ = s; return s; @@ -1954,6 +2139,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
@@ -1961,15 +2148,14 @@ public java.lang.String getAvailability() {
      * 
* * string availability = 6; + * * @return The bytes for availability. */ - public com.google.protobuf.ByteString - getAvailabilityBytes() { + public com.google.protobuf.ByteString getAvailabilityBytes() { java.lang.Object ref = availability_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); availability_ = b; return b; } else { @@ -1977,6 +2163,8 @@ public java.lang.String getAvailability() { } } /** + * + * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
@@ -1984,20 +2172,22 @@ public java.lang.String getAvailability() {
      * 
* * string availability = 6; + * * @param value The availability to set. * @return This builder for chaining. */ - public Builder setAvailability( - java.lang.String value) { + public Builder setAvailability(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + availability_ = value; onChanged(); return this; } /** + * + * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
@@ -2005,15 +2195,18 @@ public Builder setAvailability(
      * 
* * string availability = 6; + * * @return This builder for chaining. */ public Builder clearAvailability() { - + availability_ = getDefaultInstance().getAvailability(); onChanged(); return this; } /** + * + * *
      * A user-definable description of the availability of this service.
      * Format: free-form, but we expect single words that describe availability,
@@ -2021,16 +2214,16 @@ public Builder clearAvailability() {
      * 
* * string availability = 6; + * * @param value The bytes for availability to set. * @return This builder for chaining. */ - public Builder setAvailabilityBytes( - com.google.protobuf.ByteString value) { + public Builder setAvailabilityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + availability_ = value; onChanged(); return this; @@ -2038,19 +2231,21 @@ public Builder setAvailabilityBytes( private java.lang.Object recommendedVersion_ = ""; /** + * + * *
      * The recommended version of the API.
      * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The recommendedVersion. */ public java.lang.String getRecommendedVersion() { java.lang.Object ref = recommendedVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedVersion_ = s; return s; @@ -2059,21 +2254,22 @@ public java.lang.String getRecommendedVersion() { } } /** + * + * *
      * The recommended version of the API.
      * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedVersion. */ - public com.google.protobuf.ByteString - getRecommendedVersionBytes() { + public com.google.protobuf.ByteString getRecommendedVersionBytes() { java.lang.Object ref = recommendedVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recommendedVersion_ = b; return b; } else { @@ -2081,57 +2277,64 @@ public java.lang.String getRecommendedVersion() { } } /** + * + * *
      * The recommended version of the API.
      * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @param value The recommendedVersion to set. * @return This builder for chaining. */ - public Builder setRecommendedVersion( - java.lang.String value) { + public Builder setRecommendedVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recommendedVersion_ = value; onChanged(); return this; } /** + * + * *
      * The recommended version of the API.
      * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearRecommendedVersion() { - + recommendedVersion_ = getDefaultInstance().getRecommendedVersion(); onChanged(); return this; } /** + * + * *
      * The recommended version of the API.
      * Format: `apis/{api}/versions/{version}`
      * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for recommendedVersion to set. * @return This builder for chaining. */ - public Builder setRecommendedVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setRecommendedVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recommendedVersion_ = value; onChanged(); return this; @@ -2139,19 +2342,21 @@ public Builder setRecommendedVersionBytes( private java.lang.Object recommendedDeployment_ = ""; /** + * + * *
      * The recommended deployment of the API.
      * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The recommendedDeployment. */ public java.lang.String getRecommendedDeployment() { java.lang.Object ref = recommendedDeployment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recommendedDeployment_ = s; return s; @@ -2160,21 +2365,22 @@ public java.lang.String getRecommendedDeployment() { } } /** + * + * *
      * The recommended deployment of the API.
      * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedDeployment. */ - public com.google.protobuf.ByteString - getRecommendedDeploymentBytes() { + public com.google.protobuf.ByteString getRecommendedDeploymentBytes() { java.lang.Object ref = recommendedDeployment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recommendedDeployment_ = b; return b; } else { @@ -2182,78 +2388,84 @@ public java.lang.String getRecommendedDeployment() { } } /** + * + * *
      * The recommended deployment of the API.
      * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @param value The recommendedDeployment to set. * @return This builder for chaining. */ - public Builder setRecommendedDeployment( - java.lang.String value) { + public Builder setRecommendedDeployment(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recommendedDeployment_ = value; onChanged(); return this; } /** + * + * *
      * The recommended deployment of the API.
      * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearRecommendedDeployment() { - + recommendedDeployment_ = getDefaultInstance().getRecommendedDeployment(); onChanged(); return this; } /** + * + * *
      * The recommended deployment of the API.
      * Format: `apis/{api}/deployments/{deployment}`
      * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for recommendedDeployment to set. * @return This builder for chaining. */ - public Builder setRecommendedDeploymentBytes( - com.google.protobuf.ByteString value) { + public Builder setRecommendedDeploymentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recommendedDeployment_ = 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(); @@ -2265,6 +2477,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2280,22 +2494,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 9;
      */
-
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2312,11 +2526,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 9;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2333,16 +2548,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 9;
      */
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2359,12 +2575,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 9;
      */
     @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();
       }
@@ -2372,11 +2587,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2392,23 +2608,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 9;
      */
-
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2424,19 +2638,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 9;
      */
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2452,30 +2667,29 @@ public Builder putLabels(
      *
      * map<string, string> labels = 9;
      */
-
-    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.MapField<
-        java.lang.String, java.lang.String> annotations_;
+    private com.google.protobuf.MapField annotations_;
+
     private com.google.protobuf.MapField
-    internalGetAnnotations() {
+        internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableAnnotations() {
-      onChanged();;
+        internalGetMutableAnnotations() {
+      onChanged();
+      ;
       if (annotations_ == null) {
-        annotations_ = com.google.protobuf.MapField.newMapField(
-            AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ =
+            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -2487,6 +2701,8 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2496,22 +2712,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 10;
      */
-
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2522,11 +2738,12 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
-
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2537,16 +2754,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
-
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2557,12 +2775,11 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 10;
      */
     @java.lang.Override
-
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2570,11 +2787,12 @@ public java.lang.String getAnnotationsOrThrow(
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2584,23 +2802,21 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 10;
      */
-
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2610,19 +2826,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 10;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAnnotations(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");
+      }
 
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2632,16 +2849,13 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 10;
      */
-
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2651,12 +2865,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Api)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Api)
   private static final com.google.cloud.apigeeregistry.v1.Api DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Api();
   }
@@ -2665,16 +2879,16 @@ public static com.google.cloud.apigeeregistry.v1.Api getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Api parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Api(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Api parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Api(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2689,6 +2903,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.Api getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
index 6996e3f..c9cce73 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeployment.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
+ *
+ *
  * 
  * Describes a service running at particular address that
  * provides a particular version of an API. ApiDeployments have revisions which
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiDeployment}
  */
-public final class ApiDeployment extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ApiDeployment extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiDeployment)
     ApiDeploymentOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ApiDeployment.newBuilder() to construct.
   private ApiDeployment(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ApiDeployment() {
     name_ = "";
     displayName_ = "";
@@ -37,16 +55,15 @@ private ApiDeployment() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ApiDeployment();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ApiDeployment(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -66,132 +83,149 @@ private ApiDeployment(
           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();
-
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            revisionId_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              displayName_ = s;
+              break;
             }
-            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;
             }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (revisionCreateTime_ != null) {
-              subBuilder = revisionCreateTime_.toBuilder();
+              revisionId_ = s;
+              break;
             }
-            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionCreateTime_);
-              revisionCreateTime_ = 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: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (revisionUpdateTime_ != null) {
-              subBuilder = revisionUpdateTime_.toBuilder();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionCreateTime_ != null) {
+                subBuilder = revisionCreateTime_.toBuilder();
+              }
+              revisionCreateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionCreateTime_);
+                revisionCreateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            revisionUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionUpdateTime_);
-              revisionUpdateTime_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionUpdateTime_ != null) {
+                subBuilder = revisionUpdateTime_.toBuilder();
+              }
+              revisionUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionUpdateTime_);
+                revisionUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            apiSpecRevision_ = s;
-            break;
-          }
-          case 74: {
-            java.lang.String s = input.readStringRequireUtf8();
+              apiSpecRevision_ = s;
+              break;
+            }
+          case 74:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            endpointUri_ = s;
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
+              endpointUri_ = s;
+              break;
+            }
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            externalChannelUri_ = s;
-            break;
-          }
-          case 90: {
-            java.lang.String s = input.readStringRequireUtf8();
+              externalChannelUri_ = s;
+              break;
+            }
+          case 90:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            intendedAudience_ = s;
-            break;
-          }
-          case 98: {
-            java.lang.String s = input.readStringRequireUtf8();
+              intendedAudience_ = s;
+              break;
+            }
+          case 98:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            accessGuidance_ = s;
-            break;
-          }
-          case 114: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              accessGuidance_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 122: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              annotations_ = com.google.protobuf.MapField.newMapField(
-                  AnnotationsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+          case 114:
+            {
+              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
-            annotations__ = input.readMessage(
-                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            annotations_.getMutableMap().put(
-                annotations__.getKey(), annotations__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 122:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                annotations_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AnnotationsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry annotations__ =
+                  input.readMessage(
+                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -199,48 +233,52 @@ private ApiDeployment(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 14:
         return internalGetLabels();
       case 15:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.ApiDeployment.class, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
+            com.google.cloud.apigeeregistry.v1.ApiDeployment.class,
+            com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -249,29 +287,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; } } /** + * + * *
    * Resource name.
    * 
* * 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 { @@ -282,11 +320,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -295,29 +336,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; } } /** + * + * *
    * Human-meaningful name.
    * 
* * 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 { @@ -328,11 +369,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -341,29 +385,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A detailed description.
    * 
* * 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 { @@ -374,13 +418,18 @@ public java.lang.String getDescription() { public static final int REVISION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object revisionId_; /** + * + * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ @java.lang.Override @@ -389,31 +438,33 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -424,11 +475,15 @@ public java.lang.String getRevisionId() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -436,11 +491,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -448,11 +507,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -462,11 +524,16 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp revisionCreateTime_; /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -474,23 +541,34 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -500,11 +578,16 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int REVISION_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionUpdateTime_; /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ @java.lang.Override @@ -512,23 +595,34 @@ public boolean hasRevisionUpdateTime() { return revisionUpdateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionUpdateTime() { - return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { @@ -538,6 +632,8 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { public static final int API_SPEC_REVISION_FIELD_NUMBER = 8; private volatile java.lang.Object apiSpecRevision_; /** + * + * *
    * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
@@ -545,6 +641,7 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The apiSpecRevision. */ @java.lang.Override @@ -553,14 +650,15 @@ public java.lang.String getApiSpecRevision() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecRevision_ = s; return s; } } /** + * + * *
    * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
@@ -568,16 +666,15 @@ public java.lang.String getApiSpecRevision() {
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for apiSpecRevision. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiSpecRevisionBytes() { + public com.google.protobuf.ByteString getApiSpecRevisionBytes() { java.lang.Object ref = apiSpecRevision_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiSpecRevision_ = b; return b; } else { @@ -588,12 +685,15 @@ public java.lang.String getApiSpecRevision() { public static final int ENDPOINT_URI_FIELD_NUMBER = 9; private volatile java.lang.Object endpointUri_; /** + * + * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; + * * @return The endpointUri. */ @java.lang.Override @@ -602,30 +702,30 @@ public java.lang.String getEndpointUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointUri_ = s; return s; } } /** + * + * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; + * * @return The bytes for endpointUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointUriBytes() { + public com.google.protobuf.ByteString getEndpointUriBytes() { java.lang.Object ref = endpointUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpointUri_ = b; return b; } else { @@ -636,12 +736,15 @@ public java.lang.String getEndpointUri() { public static final int EXTERNAL_CHANNEL_URI_FIELD_NUMBER = 10; private volatile java.lang.Object externalChannelUri_; /** + * + * *
    * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; + * * @return The externalChannelUri. */ @java.lang.Override @@ -650,30 +753,30 @@ public java.lang.String getExternalChannelUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalChannelUri_ = s; return s; } } /** + * + * *
    * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; + * * @return The bytes for externalChannelUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalChannelUriBytes() { + public com.google.protobuf.ByteString getExternalChannelUriBytes() { java.lang.Object ref = externalChannelUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalChannelUri_ = b; return b; } else { @@ -684,12 +787,15 @@ public java.lang.String getExternalChannelUri() { public static final int INTENDED_AUDIENCE_FIELD_NUMBER = 11; private volatile java.lang.Object intendedAudience_; /** + * + * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; + * * @return The intendedAudience. */ @java.lang.Override @@ -698,30 +804,30 @@ public java.lang.String getIntendedAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intendedAudience_ = s; return s; } } /** + * + * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; + * * @return The bytes for intendedAudience. */ @java.lang.Override - public com.google.protobuf.ByteString - getIntendedAudienceBytes() { + public com.google.protobuf.ByteString getIntendedAudienceBytes() { java.lang.Object ref = intendedAudience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); intendedAudience_ = b; return b; } else { @@ -732,12 +838,15 @@ public java.lang.String getIntendedAudience() { public static final int ACCESS_GUIDANCE_FIELD_NUMBER = 12; private volatile java.lang.Object accessGuidance_; /** + * + * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; + * * @return The accessGuidance. */ @java.lang.Override @@ -746,30 +855,30 @@ public java.lang.String getAccessGuidance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessGuidance_ = s; return s; } } /** + * + * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; + * * @return The bytes for accessGuidance. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccessGuidanceBytes() { + public com.google.protobuf.ByteString getAccessGuidanceBytes() { java.lang.Object ref = accessGuidance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessGuidance_ = b; return b; } else { @@ -778,24 +887,23 @@ public java.lang.String getAccessGuidance() { } public static final int LABELS_FIELD_NUMBER = 14; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_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.cloud.apigeeregistry.v1.RegistryModelsProto + .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_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_; } @@ -804,6 +912,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -819,22 +929,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 14;
    */
-
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -851,11 +961,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -872,16 +983,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -898,12 +1009,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 14;
    */
   @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();
     }
@@ -911,24 +1021,24 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 15;
+
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_AnnotationsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> annotations_;
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+                .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_AnnotationsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField annotations_;
+
   private com.google.protobuf.MapField
-  internalGetAnnotations() {
+      internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -937,6 +1047,8 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -946,22 +1058,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 15;
    */
-
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -972,11 +1084,12 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -987,16 +1100,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -1007,12 +1121,11 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1020,6 +1133,7 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1031,8 +1145,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1069,18 +1182,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessGuidance_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 12, accessGuidance_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        14);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAnnotations(),
-        AnnotationsDefaultEntryHolder.defaultEntry,
-        15);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 15);
     unknownFields.writeTo(output);
   }
 
@@ -1103,16 +1208,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (revisionCreateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getRevisionCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime());
     }
     if (revisionUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getRevisionUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiSpecRevision_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, apiSpecRevision_);
@@ -1129,25 +1231,25 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessGuidance_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, accessGuidance_);
     }
-    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(14, labels__);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(15, annotations__);
+    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(14, labels__);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry annotations__ =
+          AnnotationsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1157,50 +1259,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.cloud.apigeeregistry.v1.ApiDeployment)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiDeployment other = (com.google.cloud.apigeeregistry.v1.ApiDeployment) obj;
+    com.google.cloud.apigeeregistry.v1.ApiDeployment other =
+        (com.google.cloud.apigeeregistry.v1.ApiDeployment) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!getRevisionId()
-        .equals(other.getRevisionId())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getRevisionId().equals(other.getRevisionId())) 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 (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false;
     if (hasRevisionCreateTime()) {
-      if (!getRevisionCreateTime()
-          .equals(other.getRevisionCreateTime())) return false;
+      if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false;
     }
     if (hasRevisionUpdateTime() != other.hasRevisionUpdateTime()) return false;
     if (hasRevisionUpdateTime()) {
-      if (!getRevisionUpdateTime()
-          .equals(other.getRevisionUpdateTime())) return false;
-    }
-    if (!getApiSpecRevision()
-        .equals(other.getApiSpecRevision())) return false;
-    if (!getEndpointUri()
-        .equals(other.getEndpointUri())) return false;
-    if (!getExternalChannelUri()
-        .equals(other.getExternalChannelUri())) return false;
-    if (!getIntendedAudience()
-        .equals(other.getIntendedAudience())) return false;
-    if (!getAccessGuidance()
-        .equals(other.getAccessGuidance())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(
-        other.internalGetAnnotations())) return false;
+      if (!getRevisionUpdateTime().equals(other.getRevisionUpdateTime())) return false;
+    }
+    if (!getApiSpecRevision().equals(other.getApiSpecRevision())) return false;
+    if (!getEndpointUri().equals(other.getEndpointUri())) return false;
+    if (!getExternalChannelUri().equals(other.getExternalChannelUri())) return false;
+    if (!getIntendedAudience().equals(other.getIntendedAudience())) return false;
+    if (!getAccessGuidance().equals(other.getAccessGuidance())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1255,97 +1344,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiDeployment parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Describes a service running at particular address that
    * provides a particular version of an API. ApiDeployments have revisions which
@@ -1356,47 +1452,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiDeployment}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiDeployment)
       com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 14:
           return internalGetLabels();
         case 15:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 14:
           return internalGetMutableLabels();
         case 15:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.ApiDeployment.class, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
+              com.google.cloud.apigeeregistry.v1.ApiDeployment.class,
+              com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder()
@@ -1404,16 +1500,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1459,9 +1554,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiDeployment_descriptor;
     }
 
     @java.lang.Override
@@ -1480,7 +1575,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.ApiDeployment buildPartial() {
-      com.google.cloud.apigeeregistry.v1.ApiDeployment result = new com.google.cloud.apigeeregistry.v1.ApiDeployment(this);
+      com.google.cloud.apigeeregistry.v1.ApiDeployment result =
+          new com.google.cloud.apigeeregistry.v1.ApiDeployment(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1518,38 +1614,39 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.ApiDeployment) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiDeployment)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiDeployment) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1557,7 +1654,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiDeployment other) {
-      if (other == com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()) return this;
+      if (other == com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1603,10 +1701,8 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiDeployment other)
         accessGuidance_ = other.accessGuidance_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1635,22 +1731,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * 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; @@ -1659,20 +1758,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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 { @@ -1680,54 +1780,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * 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; @@ -1735,18 +1842,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1755,20 +1864,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1776,54 +1886,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; } /** + * + * *
      * Human-meaningful name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1831,18 +1948,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1851,20 +1970,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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 { @@ -1872,54 +1992,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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; } /** - *
+     *
+     *
+     * 
      * A detailed description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1927,20 +2054,24 @@ public Builder setDescriptionBytes( private java.lang.Object revisionId_ = ""; /** + * + * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -1949,22 +2080,25 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -1972,60 +2106,73 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the deployment.
      * A new revision is committed whenever the deployment contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -2033,39 +2180,58 @@ public Builder setRevisionIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2081,14 +2247,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2099,17 +2268,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -2121,11 +2294,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2139,48 +2316,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp; when the deployment resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2188,39 +2381,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionCreateTimeBuilder_; /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -2236,14 +2448,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -2254,17 +2469,23 @@ public Builder setRevisionCreateTime( return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -2276,11 +2497,15 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -2294,48 +2519,64 @@ public Builder clearRevisionCreateTime() { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), - getParentForChildren(), - isClean()); + revisionCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), getParentForChildren(), isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -2343,39 +2584,58 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionUpdateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ public boolean hasRevisionUpdateTime() { return revisionUpdateTimeBuilder_ != null || revisionUpdateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ public com.google.protobuf.Timestamp getRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { - return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } else { return revisionUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { @@ -2391,14 +2651,17 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionUpdateTimeBuilder_ == null) { revisionUpdateTime_ = builderForValue.build(); onChanged(); @@ -2409,17 +2672,23 @@ public Builder setRevisionUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { if (revisionUpdateTime_ != null) { revisionUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionUpdateTime_ = value; } @@ -2431,11 +2700,15 @@ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { @@ -2449,48 +2722,64 @@ public Builder clearRevisionUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionUpdateTimeBuilder() { - + onChanged(); return getRevisionUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { if (revisionUpdateTimeBuilder_ != null) { return revisionUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionUpdateTimeFieldBuilder() { if (revisionUpdateTimeBuilder_ == null) { - revisionUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionUpdateTime(), - getParentForChildren(), - isClean()); + revisionUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionUpdateTime(), getParentForChildren(), isClean()); revisionUpdateTime_ = null; } return revisionUpdateTimeBuilder_; @@ -2498,6 +2787,8 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { private java.lang.Object apiSpecRevision_ = ""; /** + * + * *
      * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
@@ -2505,13 +2796,13 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The apiSpecRevision. */ public java.lang.String getApiSpecRevision() { java.lang.Object ref = apiSpecRevision_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecRevision_ = s; return s; @@ -2520,6 +2811,8 @@ public java.lang.String getApiSpecRevision() { } } /** + * + * *
      * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
@@ -2527,15 +2820,14 @@ public java.lang.String getApiSpecRevision() {
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for apiSpecRevision. */ - public com.google.protobuf.ByteString - getApiSpecRevisionBytes() { + public com.google.protobuf.ByteString getApiSpecRevisionBytes() { java.lang.Object ref = apiSpecRevision_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiSpecRevision_ = b; return b; } else { @@ -2543,6 +2835,8 @@ public java.lang.String getApiSpecRevision() { } } /** + * + * *
      * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
@@ -2550,20 +2844,22 @@ public java.lang.String getApiSpecRevision() {
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @param value The apiSpecRevision to set. * @return This builder for chaining. */ - public Builder setApiSpecRevision( - java.lang.String value) { + public Builder setApiSpecRevision(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiSpecRevision_ = value; onChanged(); return this; } /** + * + * *
      * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
@@ -2571,15 +2867,18 @@ public Builder setApiSpecRevision(
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearApiSpecRevision() { - + apiSpecRevision_ = getDefaultInstance().getApiSpecRevision(); onChanged(); return this; } /** + * + * *
      * The full resource name (including revision ID) of the spec of the API being
      * served by the deployment. Changes to this value will update the revision.
@@ -2587,16 +2886,16 @@ public Builder clearApiSpecRevision() {
      * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for apiSpecRevision to set. * @return This builder for chaining. */ - public Builder setApiSpecRevisionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiSpecRevisionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiSpecRevision_ = value; onChanged(); return this; @@ -2604,19 +2903,21 @@ public Builder setApiSpecRevisionBytes( private java.lang.Object endpointUri_ = ""; /** + * + * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; + * * @return The endpointUri. */ public java.lang.String getEndpointUri() { java.lang.Object ref = endpointUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpointUri_ = s; return s; @@ -2625,21 +2926,22 @@ public java.lang.String getEndpointUri() { } } /** + * + * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; + * * @return The bytes for endpointUri. */ - public com.google.protobuf.ByteString - getEndpointUriBytes() { + public com.google.protobuf.ByteString getEndpointUriBytes() { java.lang.Object ref = endpointUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpointUri_ = b; return b; } else { @@ -2647,57 +2949,64 @@ public java.lang.String getEndpointUri() { } } /** + * + * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; + * * @param value The endpointUri to set. * @return This builder for chaining. */ - public Builder setEndpointUri( - java.lang.String value) { + public Builder setEndpointUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpointUri_ = value; onChanged(); return this; } /** + * + * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; + * * @return This builder for chaining. */ public Builder clearEndpointUri() { - + endpointUri_ = getDefaultInstance().getEndpointUri(); onChanged(); return this; } /** + * + * *
      * The address where the deployment is serving. Changes to this value will
      * update the revision.
      * 
* * string endpoint_uri = 9; + * * @param value The bytes for endpointUri to set. * @return This builder for chaining. */ - public Builder setEndpointUriBytes( - com.google.protobuf.ByteString value) { + public Builder setEndpointUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpointUri_ = value; onChanged(); return this; @@ -2705,19 +3014,21 @@ public Builder setEndpointUriBytes( private java.lang.Object externalChannelUri_ = ""; /** + * + * *
      * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; + * * @return The externalChannelUri. */ public java.lang.String getExternalChannelUri() { java.lang.Object ref = externalChannelUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalChannelUri_ = s; return s; @@ -2726,21 +3037,22 @@ public java.lang.String getExternalChannelUri() { } } /** + * + * *
      * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; + * * @return The bytes for externalChannelUri. */ - public com.google.protobuf.ByteString - getExternalChannelUriBytes() { + public com.google.protobuf.ByteString getExternalChannelUriBytes() { java.lang.Object ref = externalChannelUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalChannelUri_ = b; return b; } else { @@ -2748,57 +3060,64 @@ public java.lang.String getExternalChannelUri() { } } /** + * + * *
      * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; + * * @param value The externalChannelUri to set. * @return This builder for chaining. */ - public Builder setExternalChannelUri( - java.lang.String value) { + public Builder setExternalChannelUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + externalChannelUri_ = value; onChanged(); return this; } /** + * + * *
      * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; + * * @return This builder for chaining. */ public Builder clearExternalChannelUri() { - + externalChannelUri_ = getDefaultInstance().getExternalChannelUri(); onChanged(); return this; } /** + * + * *
      * The address of the external channel of the API (e.g., the Developer
      * Portal). Changes to this value will not affect the revision.
      * 
* * string external_channel_uri = 10; + * * @param value The bytes for externalChannelUri to set. * @return This builder for chaining. */ - public Builder setExternalChannelUriBytes( - com.google.protobuf.ByteString value) { + public Builder setExternalChannelUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + externalChannelUri_ = value; onChanged(); return this; @@ -2806,19 +3125,21 @@ public Builder setExternalChannelUriBytes( private java.lang.Object intendedAudience_ = ""; /** + * + * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; + * * @return The intendedAudience. */ public java.lang.String getIntendedAudience() { java.lang.Object ref = intendedAudience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); intendedAudience_ = s; return s; @@ -2827,21 +3148,22 @@ public java.lang.String getIntendedAudience() { } } /** + * + * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; + * * @return The bytes for intendedAudience. */ - public com.google.protobuf.ByteString - getIntendedAudienceBytes() { + public com.google.protobuf.ByteString getIntendedAudienceBytes() { java.lang.Object ref = intendedAudience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); intendedAudience_ = b; return b; } else { @@ -2849,57 +3171,64 @@ public java.lang.String getIntendedAudience() { } } /** + * + * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; + * * @param value The intendedAudience to set. * @return This builder for chaining. */ - public Builder setIntendedAudience( - java.lang.String value) { + public Builder setIntendedAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + intendedAudience_ = value; onChanged(); return this; } /** + * + * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; + * * @return This builder for chaining. */ public Builder clearIntendedAudience() { - + intendedAudience_ = getDefaultInstance().getIntendedAudience(); onChanged(); return this; } /** + * + * *
      * Text briefly identifying the intended audience of the API. Changes to this
      * value will not affect the revision.
      * 
* * string intended_audience = 11; + * * @param value The bytes for intendedAudience to set. * @return This builder for chaining. */ - public Builder setIntendedAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setIntendedAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + intendedAudience_ = value; onChanged(); return this; @@ -2907,19 +3236,21 @@ public Builder setIntendedAudienceBytes( private java.lang.Object accessGuidance_ = ""; /** + * + * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; + * * @return The accessGuidance. */ public java.lang.String getAccessGuidance() { java.lang.Object ref = accessGuidance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessGuidance_ = s; return s; @@ -2928,21 +3259,22 @@ public java.lang.String getAccessGuidance() { } } /** + * + * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; + * * @return The bytes for accessGuidance. */ - public com.google.protobuf.ByteString - getAccessGuidanceBytes() { + public com.google.protobuf.ByteString getAccessGuidanceBytes() { java.lang.Object ref = accessGuidance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accessGuidance_ = b; return b; } else { @@ -2950,78 +3282,84 @@ public java.lang.String getAccessGuidance() { } } /** + * + * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; + * * @param value The accessGuidance to set. * @return This builder for chaining. */ - public Builder setAccessGuidance( - java.lang.String value) { + public Builder setAccessGuidance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + accessGuidance_ = value; onChanged(); return this; } /** + * + * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; + * * @return This builder for chaining. */ public Builder clearAccessGuidance() { - + accessGuidance_ = getDefaultInstance().getAccessGuidance(); onChanged(); return this; } /** + * + * *
      * Text briefly describing how to access the endpoint. Changes to this value
      * will not affect the revision.
      * 
* * string access_guidance = 12; + * * @param value The bytes for accessGuidance to set. * @return This builder for chaining. */ - public Builder setAccessGuidanceBytes( - com.google.protobuf.ByteString value) { + public Builder setAccessGuidanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + accessGuidance_ = 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(); @@ -3033,6 +3371,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3048,22 +3388,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 14;
      */
-
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3080,11 +3420,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3101,16 +3442,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3127,12 +3469,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 14;
      */
     @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();
       }
@@ -3140,11 +3481,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3160,23 +3502,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 14;
      */
-
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3192,19 +3532,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 14;
      */
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3220,30 +3561,29 @@ public Builder putLabels(
      *
      * map<string, string> labels = 14;
      */
-
-    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.MapField<
-        java.lang.String, java.lang.String> annotations_;
+    private com.google.protobuf.MapField annotations_;
+
     private com.google.protobuf.MapField
-    internalGetAnnotations() {
+        internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableAnnotations() {
-      onChanged();;
+        internalGetMutableAnnotations() {
+      onChanged();
+      ;
       if (annotations_ == null) {
-        annotations_ = com.google.protobuf.MapField.newMapField(
-            AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ =
+            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -3255,6 +3595,8 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3264,22 +3606,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 15;
      */
-
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3290,11 +3632,12 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3305,16 +3648,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3325,12 +3669,11 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3338,11 +3681,12 @@ public java.lang.String getAnnotationsOrThrow(
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3352,23 +3696,21 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 15;
      */
-
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3378,19 +3720,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAnnotations(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");
+      }
 
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3400,16 +3743,13 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 15;
      */
-
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3419,12 +3759,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiDeployment)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiDeployment)
   private static final com.google.cloud.apigeeregistry.v1.ApiDeployment DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiDeployment();
   }
@@ -3433,16 +3773,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiDeployment getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ApiDeployment parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ApiDeployment(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ApiDeployment parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ApiDeployment(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3457,6 +3797,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiDeployment getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
similarity index 77%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
index 85d5012..04b8c2e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiDeploymentOrBuilder.java
@@ -1,178 +1,259 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiDeploymentOrBuilder extends
+public interface ApiDeploymentOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiDeployment)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Output only. Immutable. The revision ID of the deployment.
    * A new revision is committed whenever the deployment contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp; when the deployment resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ boolean hasRevisionUpdateTime(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ com.google.protobuf.Timestamp getRevisionUpdateTime(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder(); /** + * + * *
    * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
@@ -180,10 +261,13 @@ public interface ApiDeploymentOrBuilder extends
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The apiSpecRevision. */ java.lang.String getApiSpecRevision(); /** + * + * *
    * The full resource name (including revision ID) of the spec of the API being
    * served by the deployment. Changes to this value will update the revision.
@@ -191,100 +275,122 @@ public interface ApiDeploymentOrBuilder extends
    * 
* * string api_spec_revision = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for apiSpecRevision. */ - com.google.protobuf.ByteString - getApiSpecRevisionBytes(); + com.google.protobuf.ByteString getApiSpecRevisionBytes(); /** + * + * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; + * * @return The endpointUri. */ java.lang.String getEndpointUri(); /** + * + * *
    * The address where the deployment is serving. Changes to this value will
    * update the revision.
    * 
* * string endpoint_uri = 9; + * * @return The bytes for endpointUri. */ - com.google.protobuf.ByteString - getEndpointUriBytes(); + com.google.protobuf.ByteString getEndpointUriBytes(); /** + * + * *
    * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; + * * @return The externalChannelUri. */ java.lang.String getExternalChannelUri(); /** + * + * *
    * The address of the external channel of the API (e.g., the Developer
    * Portal). Changes to this value will not affect the revision.
    * 
* * string external_channel_uri = 10; + * * @return The bytes for externalChannelUri. */ - com.google.protobuf.ByteString - getExternalChannelUriBytes(); + com.google.protobuf.ByteString getExternalChannelUriBytes(); /** + * + * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; + * * @return The intendedAudience. */ java.lang.String getIntendedAudience(); /** + * + * *
    * Text briefly identifying the intended audience of the API. Changes to this
    * value will not affect the revision.
    * 
* * string intended_audience = 11; + * * @return The bytes for intendedAudience. */ - com.google.protobuf.ByteString - getIntendedAudienceBytes(); + com.google.protobuf.ByteString getIntendedAudienceBytes(); /** + * + * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; + * * @return The accessGuidance. */ java.lang.String getAccessGuidance(); /** + * + * *
    * Text briefly describing how to access the endpoint. Changes to this value
    * will not affect the revision.
    * 
* * string access_guidance = 12; + * * @return The bytes for accessGuidance. */ - com.google.protobuf.ByteString - getAccessGuidanceBytes(); + com.google.protobuf.ByteString getAccessGuidanceBytes(); /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -302,6 +408,8 @@ public interface ApiDeploymentOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -317,15 +425,13 @@ public interface ApiDeploymentOrBuilder extends
    *
    * map<string, string> labels = 14;
    */
-  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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -341,9 +447,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -361,11 +468,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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -381,11 +490,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 14;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -397,6 +506,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -406,15 +517,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 15;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -424,9 +533,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 15;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -438,11 +548,13 @@ boolean containsAnnotations(
    */
 
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -452,7 +564,5 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
index 45d4f17..903af15 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiOrBuilder.java
@@ -1,127 +1,182 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiOrBuilder extends
+public interface ApiOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Api)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
@@ -129,10 +184,13 @@ public interface ApiOrBuilder extends
    * 
* * string availability = 6; + * * @return The availability. */ java.lang.String getAvailability(); /** + * + * *
    * A user-definable description of the availability of this service.
    * Format: free-form, but we expect single words that describe availability,
@@ -140,56 +198,68 @@ public interface ApiOrBuilder extends
    * 
* * string availability = 6; + * * @return The bytes for availability. */ - com.google.protobuf.ByteString - getAvailabilityBytes(); + com.google.protobuf.ByteString getAvailabilityBytes(); /** + * + * *
    * The recommended version of the API.
    * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The recommendedVersion. */ java.lang.String getRecommendedVersion(); /** + * + * *
    * The recommended version of the API.
    * Format: `apis/{api}/versions/{version}`
    * 
* * string recommended_version = 7 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedVersion. */ - com.google.protobuf.ByteString - getRecommendedVersionBytes(); + com.google.protobuf.ByteString getRecommendedVersionBytes(); /** + * + * *
    * The recommended deployment of the API.
    * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The recommendedDeployment. */ java.lang.String getRecommendedDeployment(); /** + * + * *
    * The recommended deployment of the API.
    * Format: `apis/{api}/deployments/{deployment}`
    * 
* * string recommended_deployment = 8 [(.google.api.resource_reference) = { ... } + * * @return The bytes for recommendedDeployment. */ - com.google.protobuf.ByteString - getRecommendedDeploymentBytes(); + com.google.protobuf.ByteString getRecommendedDeploymentBytes(); /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -207,6 +277,8 @@ public interface ApiOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -222,15 +294,13 @@ public interface ApiOrBuilder extends
    *
    * map<string, string> labels = 9;
    */
-  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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -246,9 +316,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 9;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -266,11 +337,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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -286,11 +359,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 9;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -302,6 +375,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -311,15 +386,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 10;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -329,9 +402,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 10;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -343,11 +417,13 @@ boolean containsAnnotations(
    */
 
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -357,7 +433,5 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 10;
    */
-
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
index 83c7588..6d622c1 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpec.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
+ *
+ *
  * 
  * Describes a version of an API in a structured way.
  * ApiSpecs provide formal descriptions that consumers can use to use a version.
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiSpec}
  */
-public final class ApiSpec extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ApiSpec extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiSpec)
     ApiSpecOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ApiSpec.newBuilder() to construct.
   private ApiSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ApiSpec() {
     name_ = "";
     filename_ = "";
@@ -39,16 +57,15 @@ private ApiSpec() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ApiSpec();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ApiSpec(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -68,130 +85,145 @@ private ApiSpec(
           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();
 
-            filename_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              filename_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              description_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            revisionId_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              revisionId_ = s;
+              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 (revisionCreateTime_ != null) {
-              subBuilder = revisionCreateTime_.toBuilder();
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionCreateTime_ != null) {
+                subBuilder = revisionCreateTime_.toBuilder();
+              }
+              revisionCreateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionCreateTime_);
+                revisionCreateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            revisionCreateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionCreateTime_);
-              revisionCreateTime_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (revisionUpdateTime_ != null) {
+                subBuilder = revisionUpdateTime_.toBuilder();
+              }
+              revisionUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(revisionUpdateTime_);
+                revisionUpdateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (revisionUpdateTime_ != null) {
-              subBuilder = revisionUpdateTime_.toBuilder();
+              mimeType_ = s;
+              break;
             }
-            revisionUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(revisionUpdateTime_);
-              revisionUpdateTime_ = subBuilder.buildPartial();
+          case 72:
+            {
+              sizeBytes_ = input.readInt32();
+              break;
             }
+          case 82:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mimeType_ = s;
-            break;
-          }
-          case 72: {
-
-            sizeBytes_ = input.readInt32();
-            break;
-          }
-          case 82: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            hash_ = s;
-            break;
-          }
-          case 90: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            sourceUri_ = s;
-            break;
-          }
-          case 98: {
+              hash_ = s;
+              break;
+            }
+          case 90:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            contents_ = input.readBytes();
-            break;
-          }
-          case 114: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              sourceUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 122: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              annotations_ = com.google.protobuf.MapField.newMapField(
-                  AnnotationsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+          case 98:
+            {
+              contents_ = input.readBytes();
+              break;
             }
-            com.google.protobuf.MapEntry
-            annotations__ = input.readMessage(
-                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            annotations_.getMutableMap().put(
-                annotations__.getKey(), annotations__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 114:
+            {
+              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 122:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                annotations_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AnnotationsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry annotations__ =
+                  input.readMessage(
+                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -199,48 +231,52 @@ private ApiSpec(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 14:
         return internalGetLabels();
       case 15:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.ApiSpec.class, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
+            com.google.cloud.apigeeregistry.v1.ApiSpec.class,
+            com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -249,29 +285,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; } } /** + * + * *
    * Resource name.
    * 
* * 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 { @@ -282,11 +318,14 @@ public java.lang.String getName() { public static final int FILENAME_FIELD_NUMBER = 2; private volatile java.lang.Object filename_; /** + * + * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; + * * @return The filename. */ @java.lang.Override @@ -295,29 +334,29 @@ public java.lang.String getFilename() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; } } /** + * + * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; + * * @return The bytes for filename. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilenameBytes() { + public com.google.protobuf.ByteString getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filename_ = b; return b; } else { @@ -328,11 +367,14 @@ public java.lang.String getFilename() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -341,29 +383,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A detailed description.
    * 
* * 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 { @@ -374,13 +416,18 @@ public java.lang.String getDescription() { public static final int REVISION_ID_FIELD_NUMBER = 4; private volatile java.lang.Object revisionId_; /** + * + * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ @java.lang.Override @@ -389,31 +436,33 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -424,11 +473,15 @@ public java.lang.String getRevisionId() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -436,11 +489,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -448,11 +505,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -462,11 +522,16 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int REVISION_CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp revisionCreateTime_; /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ @java.lang.Override @@ -474,23 +539,34 @@ public boolean hasRevisionCreateTime() { return revisionCreateTime_ != null; } /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionCreateTime() { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { @@ -500,11 +576,16 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { public static final int REVISION_UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp revisionUpdateTime_; /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ @java.lang.Override @@ -512,23 +593,34 @@ public boolean hasRevisionUpdateTime() { return revisionUpdateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getRevisionUpdateTime() { - return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { @@ -538,6 +630,8 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { public static final int MIME_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object mimeType_; /** + * + * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -550,6 +644,7 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
    * 
* * string mime_type = 8; + * * @return The mimeType. */ @java.lang.Override @@ -558,14 +653,15 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** + * + * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -578,16 +674,15 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 8; + * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -598,12 +693,15 @@ public java.lang.String getMimeType() { public static final int SIZE_BYTES_FIELD_NUMBER = 9; private int sizeBytes_; /** + * + * *
    * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
    * size of the uncompressed spec.
    * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -614,12 +712,15 @@ public int getSizeBytes() { public static final int HASH_FIELD_NUMBER = 10; private volatile java.lang.Object hash_; /** + * + * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ @java.lang.Override @@ -628,30 +729,30 @@ public java.lang.String getHash() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } } /** + * + * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ @java.lang.Override - public com.google.protobuf.ByteString - getHashBytes() { + public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hash_ = b; return b; } else { @@ -662,6 +763,8 @@ public java.lang.String getHash() { public static final int SOURCE_URI_FIELD_NUMBER = 11; private volatile java.lang.Object sourceUri_; /** + * + * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -670,6 +773,7 @@ public java.lang.String getHash() {
    * 
* * string source_uri = 11; + * * @return The sourceUri. */ @java.lang.Override @@ -678,14 +782,15 @@ public java.lang.String getSourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceUri_ = s; return s; } } /** + * + * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -694,16 +799,15 @@ public java.lang.String getSourceUri() {
    * 
* * string source_uri = 11; + * * @return The bytes for sourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceUriBytes() { + public com.google.protobuf.ByteString getSourceUriBytes() { java.lang.Object ref = sourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceUri_ = b; return b; } else { @@ -714,6 +818,8 @@ public java.lang.String getSourceUri() { public static final int CONTENTS_FIELD_NUMBER = 12; private com.google.protobuf.ByteString contents_; /** + * + * *
    * Input only. The contents of the spec.
    * Provided by API callers when specs are created or updated.
@@ -721,6 +827,7 @@ public java.lang.String getSourceUri() {
    * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ @java.lang.Override @@ -729,24 +836,23 @@ public com.google.protobuf.ByteString getContents() { } public static final int LABELS_FIELD_NUMBER = 14; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_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.cloud.apigeeregistry.v1.RegistryModelsProto + .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_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_; } @@ -755,6 +861,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -770,22 +878,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 14;
    */
-
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -802,11 +910,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 14;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -823,16 +932,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 14;
    */
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -849,12 +958,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 14;
    */
   @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();
     }
@@ -862,24 +970,24 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 15;
+
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_AnnotationsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> annotations_;
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+                .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_AnnotationsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField annotations_;
+
   private com.google.protobuf.MapField
-  internalGetAnnotations() {
+      internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -888,6 +996,8 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -897,22 +1007,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 15;
    */
-
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -923,11 +1033,12 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -938,16 +1049,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -958,12 +1070,11 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 15;
    */
   @java.lang.Override
-
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -971,6 +1082,7 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -982,8 +1094,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1020,18 +1131,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!contents_.isEmpty()) {
       output.writeBytes(12, contents_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        14);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAnnotations(),
-        AnnotationsDefaultEntryHolder.defaultEntry,
-        15);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 14);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 15);
     unknownFields.writeTo(output);
   }
 
@@ -1054,23 +1157,19 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (revisionCreateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getRevisionCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime());
     }
     if (revisionUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getRevisionUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getRevisionUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, mimeType_);
     }
     if (sizeBytes_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(9, sizeBytes_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, sizeBytes_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, hash_);
@@ -1079,28 +1178,27 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, sourceUri_);
     }
     if (!contents_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(12, contents_);
-    }
-    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(14, labels__);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(15, annotations__);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(12, contents_);
+    }
+    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(14, labels__);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry annotations__ =
+          AnnotationsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1110,50 +1208,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.cloud.apigeeregistry.v1.ApiSpec)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiSpec other = (com.google.cloud.apigeeregistry.v1.ApiSpec) obj;
+    com.google.cloud.apigeeregistry.v1.ApiSpec other =
+        (com.google.cloud.apigeeregistry.v1.ApiSpec) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getFilename()
-        .equals(other.getFilename())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!getRevisionId()
-        .equals(other.getRevisionId())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getFilename().equals(other.getFilename())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getRevisionId().equals(other.getRevisionId())) 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 (hasRevisionCreateTime() != other.hasRevisionCreateTime()) return false;
     if (hasRevisionCreateTime()) {
-      if (!getRevisionCreateTime()
-          .equals(other.getRevisionCreateTime())) return false;
+      if (!getRevisionCreateTime().equals(other.getRevisionCreateTime())) return false;
     }
     if (hasRevisionUpdateTime() != other.hasRevisionUpdateTime()) return false;
     if (hasRevisionUpdateTime()) {
-      if (!getRevisionUpdateTime()
-          .equals(other.getRevisionUpdateTime())) return false;
-    }
-    if (!getMimeType()
-        .equals(other.getMimeType())) return false;
-    if (getSizeBytes()
-        != other.getSizeBytes()) return false;
-    if (!getHash()
-        .equals(other.getHash())) return false;
-    if (!getSourceUri()
-        .equals(other.getSourceUri())) return false;
-    if (!getContents()
-        .equals(other.getContents())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(
-        other.internalGetAnnotations())) return false;
+      if (!getRevisionUpdateTime().equals(other.getRevisionUpdateTime())) return false;
+    }
+    if (!getMimeType().equals(other.getMimeType())) return false;
+    if (getSizeBytes() != other.getSizeBytes()) return false;
+    if (!getHash().equals(other.getHash())) return false;
+    if (!getSourceUri().equals(other.getSourceUri())) return false;
+    if (!getContents().equals(other.getContents())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -1208,97 +1293,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiSpec parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Describes a version of an API in a structured way.
    * ApiSpecs provide formal descriptions that consumers can use to use a version.
@@ -1312,47 +1404,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiSpec}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiSpec)
       com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 14:
           return internalGetLabels();
         case 15:
           return internalGetAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 14:
           return internalGetMutableLabels();
         case 15:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.ApiSpec.class, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
+              com.google.cloud.apigeeregistry.v1.ApiSpec.class,
+              com.google.cloud.apigeeregistry.v1.ApiSpec.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder()
@@ -1360,16 +1452,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1415,9 +1506,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiSpec_descriptor;
     }
 
     @java.lang.Override
@@ -1436,7 +1527,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.ApiSpec buildPartial() {
-      com.google.cloud.apigeeregistry.v1.ApiSpec result = new com.google.cloud.apigeeregistry.v1.ApiSpec(this);
+      com.google.cloud.apigeeregistry.v1.ApiSpec result =
+          new com.google.cloud.apigeeregistry.v1.ApiSpec(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.filename_ = filename_;
@@ -1474,38 +1566,39 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.ApiSpec) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiSpec)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiSpec) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1557,10 +1650,8 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiSpec other) {
       if (other.getContents() != com.google.protobuf.ByteString.EMPTY) {
         setContents(other.getContents());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1589,22 +1680,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * 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; @@ -1613,20 +1707,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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 { @@ -1634,54 +1729,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * 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; @@ -1689,18 +1791,20 @@ public Builder setNameBytes( private java.lang.Object filename_ = ""; /** + * + * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; + * * @return The filename. */ public java.lang.String getFilename() { java.lang.Object ref = filename_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; @@ -1709,20 +1813,21 @@ public java.lang.String getFilename() { } } /** + * + * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; + * * @return The bytes for filename. */ - public com.google.protobuf.ByteString - getFilenameBytes() { + public com.google.protobuf.ByteString getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filename_ = b; return b; } else { @@ -1730,54 +1835,61 @@ public java.lang.String getFilename() { } } /** + * + * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; + * * @param value The filename to set. * @return This builder for chaining. */ - public Builder setFilename( - java.lang.String value) { + public Builder setFilename(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filename_ = value; onChanged(); return this; } /** + * + * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; + * * @return This builder for chaining. */ public Builder clearFilename() { - + filename_ = getDefaultInstance().getFilename(); onChanged(); return this; } /** + * + * *
      * A possibly-hierarchical name used to refer to the spec from other specs.
      * 
* * string filename = 2; + * * @param value The bytes for filename to set. * @return This builder for chaining. */ - public Builder setFilenameBytes( - com.google.protobuf.ByteString value) { + public Builder setFilenameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filename_ = value; onChanged(); return this; @@ -1785,18 +1897,20 @@ public Builder setFilenameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1805,20 +1919,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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 { @@ -1826,54 +1941,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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; } /** + * + * *
      * A detailed description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1881,20 +2003,24 @@ public Builder setDescriptionBytes( private java.lang.Object revisionId_ = ""; /** + * + * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -1903,22 +2029,25 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -1926,60 +2055,73 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Output only. Immutable. The revision ID of the spec.
      * A new revision is committed whenever the spec contents are changed.
      * The format is an 8-character hexadecimal string.
      * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; @@ -1987,39 +2129,58 @@ public Builder setRevisionIdBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2035,14 +2196,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2053,17 +2217,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -2075,11 +2243,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2093,48 +2265,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp; when the spec resource was created.
      * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2142,39 +2330,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionCreateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionCreateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionCreateTimeBuilder_; /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ public boolean hasRevisionCreateTime() { return revisionCreateTimeBuilder_ != null || revisionCreateTime_ != null; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ public com.google.protobuf.Timestamp getRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { - return revisionCreateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } else { return revisionCreateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { @@ -2190,14 +2397,17 @@ public Builder setRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionCreateTimeBuilder_ == null) { revisionCreateTime_ = builderForValue.build(); onChanged(); @@ -2208,17 +2418,23 @@ public Builder setRevisionCreateTime( return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { if (revisionCreateTimeBuilder_ == null) { if (revisionCreateTime_ != null) { revisionCreateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionCreateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionCreateTime_ = value; } @@ -2230,11 +2446,15 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionCreateTime() { if (revisionCreateTimeBuilder_ == null) { @@ -2248,48 +2468,64 @@ public Builder clearRevisionCreateTime() { return this; } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder() { - + onChanged(); return getRevisionCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { if (revisionCreateTimeBuilder_ != null) { return revisionCreateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionCreateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionCreateTime_; + return revisionCreateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionCreateTime_; } } /** + * + * *
      * Output only. Revision creation timestamp; when the represented revision was created.
      * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionCreateTimeFieldBuilder() { if (revisionCreateTimeBuilder_ == null) { - revisionCreateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionCreateTime(), - getParentForChildren(), - isClean()); + revisionCreateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionCreateTime(), getParentForChildren(), isClean()); revisionCreateTime_ = null; } return revisionCreateTimeBuilder_; @@ -2297,39 +2533,58 @@ public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder() { private com.google.protobuf.Timestamp revisionUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> revisionUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + revisionUpdateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ public boolean hasRevisionUpdateTime() { return revisionUpdateTimeBuilder_ != null || revisionUpdateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ public com.google.protobuf.Timestamp getRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { - return revisionUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } else { return revisionUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { @@ -2345,14 +2600,17 @@ public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setRevisionUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRevisionUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (revisionUpdateTimeBuilder_ == null) { revisionUpdateTime_ = builderForValue.build(); onChanged(); @@ -2363,17 +2621,23 @@ public Builder setRevisionUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { if (revisionUpdateTimeBuilder_ == null) { if (revisionUpdateTime_ != null) { revisionUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(revisionUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { revisionUpdateTime_ = value; } @@ -2385,11 +2649,15 @@ public Builder mergeRevisionUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearRevisionUpdateTime() { if (revisionUpdateTimeBuilder_ == null) { @@ -2403,48 +2671,64 @@ public Builder clearRevisionUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getRevisionUpdateTimeBuilder() { - + onChanged(); return getRevisionUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { if (revisionUpdateTimeBuilder_ != null) { return revisionUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return revisionUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : revisionUpdateTime_; + return revisionUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : revisionUpdateTime_; } } /** + * + * *
      * Output only. Last update timestamp: when the represented revision was last modified.
      * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getRevisionUpdateTimeFieldBuilder() { if (revisionUpdateTimeBuilder_ == null) { - revisionUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getRevisionUpdateTime(), - getParentForChildren(), - isClean()); + revisionUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getRevisionUpdateTime(), getParentForChildren(), isClean()); revisionUpdateTime_ = null; } return revisionUpdateTimeBuilder_; @@ -2452,6 +2736,8 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() { private java.lang.Object mimeType_ = ""; /** + * + * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -2464,13 +2750,13 @@ public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder() {
      * 
* * string mime_type = 8; + * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -2479,6 +2765,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -2491,15 +2779,14 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 8; + * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -2507,6 +2794,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -2519,20 +2808,22 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 8; + * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType( - java.lang.String value) { + public Builder setMimeType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** + * + * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -2545,15 +2836,18 @@ public Builder setMimeType(
      * 
* * string mime_type = 8; + * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** + * + * *
      * A style (format) descriptor for this spec that is specified as a Media Type
      * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -2566,29 +2860,32 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 8; + * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } - private int sizeBytes_ ; + private int sizeBytes_; /** + * + * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -2596,32 +2893,38 @@ public int getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(int value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
      * size of the uncompressed spec.
      * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0; onChanged(); return this; @@ -2629,19 +2932,21 @@ public Builder clearSizeBytes() { private java.lang.Object hash_ = ""; /** + * + * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; @@ -2650,21 +2955,22 @@ public java.lang.String getHash() { } } /** + * + * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ - public com.google.protobuf.ByteString - getHashBytes() { + public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hash_ = b; return b; } else { @@ -2672,57 +2978,64 @@ public java.lang.String getHash() { } } /** + * + * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The hash to set. * @return This builder for chaining. */ - public Builder setHash( - java.lang.String value) { + public Builder setHash(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hash_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearHash() { - + hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** + * + * *
      * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
      * the hash of the uncompressed spec.
      * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for hash to set. * @return This builder for chaining. */ - public Builder setHashBytes( - com.google.protobuf.ByteString value) { + public Builder setHashBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hash_ = value; onChanged(); return this; @@ -2730,6 +3043,8 @@ public Builder setHashBytes( private java.lang.Object sourceUri_ = ""; /** + * + * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -2738,13 +3053,13 @@ public Builder setHashBytes(
      * 
* * string source_uri = 11; + * * @return The sourceUri. */ public java.lang.String getSourceUri() { java.lang.Object ref = sourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceUri_ = s; return s; @@ -2753,6 +3068,8 @@ public java.lang.String getSourceUri() { } } /** + * + * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -2761,15 +3078,14 @@ public java.lang.String getSourceUri() {
      * 
* * string source_uri = 11; + * * @return The bytes for sourceUri. */ - public com.google.protobuf.ByteString - getSourceUriBytes() { + public com.google.protobuf.ByteString getSourceUriBytes() { java.lang.Object ref = sourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceUri_ = b; return b; } else { @@ -2777,6 +3093,8 @@ public java.lang.String getSourceUri() { } } /** + * + * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -2785,20 +3103,22 @@ public java.lang.String getSourceUri() {
      * 
* * string source_uri = 11; + * * @param value The sourceUri to set. * @return This builder for chaining. */ - public Builder setSourceUri( - java.lang.String value) { + public Builder setSourceUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceUri_ = value; onChanged(); return this; } /** + * + * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -2807,15 +3127,18 @@ public Builder setSourceUri(
      * 
* * string source_uri = 11; + * * @return This builder for chaining. */ public Builder clearSourceUri() { - + sourceUri_ = getDefaultInstance().getSourceUri(); onChanged(); return this; } /** + * + * *
      * The original source URI of the spec (if one exists).
      * This is an external location that can be used for reference purposes
@@ -2824,16 +3147,16 @@ public Builder clearSourceUri() {
      * 
* * string source_uri = 11; + * * @param value The bytes for sourceUri to set. * @return This builder for chaining. */ - public Builder setSourceUriBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceUri_ = value; onChanged(); return this; @@ -2841,6 +3164,8 @@ public Builder setSourceUriBytes( private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -2848,6 +3173,7 @@ public Builder setSourceUriBytes(
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ @java.lang.Override @@ -2855,6 +3181,8 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** + * + * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -2862,19 +3190,22 @@ public com.google.protobuf.ByteString getContents() {
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** + * + * *
      * Input only. The contents of the spec.
      * Provided by API callers when specs are created or updated.
@@ -2882,31 +3213,31 @@ public Builder setContents(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); 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(); @@ -2918,6 +3249,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2933,22 +3266,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 14;
      */
-
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2965,11 +3298,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 14;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2986,16 +3320,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 14;
      */
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3012,12 +3347,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 14;
      */
     @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();
       }
@@ -3025,11 +3359,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3045,23 +3380,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 14;
      */
-
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3077,19 +3410,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 14;
      */
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -3105,30 +3439,29 @@ public Builder putLabels(
      *
      * map<string, string> labels = 14;
      */
-
-    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.MapField<
-        java.lang.String, java.lang.String> annotations_;
+    private com.google.protobuf.MapField annotations_;
+
     private com.google.protobuf.MapField
-    internalGetAnnotations() {
+        internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableAnnotations() {
-      onChanged();;
+        internalGetMutableAnnotations() {
+      onChanged();
+      ;
       if (annotations_ == null) {
-        annotations_ = com.google.protobuf.MapField.newMapField(
-            AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ =
+            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -3140,6 +3473,8 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3149,22 +3484,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 15;
      */
-
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3175,11 +3510,12 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3190,16 +3526,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3210,12 +3547,11 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 15;
      */
     @java.lang.Override
-
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3223,11 +3559,12 @@ public java.lang.String getAnnotationsOrThrow(
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3237,23 +3574,21 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 15;
      */
-
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3263,19 +3598,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 15;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAnnotations(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");
+      }
 
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -3285,16 +3621,13 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 15;
      */
-
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3304,12 +3637,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiSpec)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiSpec)
   private static final com.google.cloud.apigeeregistry.v1.ApiSpec DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiSpec();
   }
@@ -3318,16 +3651,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiSpec getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ApiSpec parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ApiSpec(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ApiSpec parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ApiSpec(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3342,6 +3675,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiSpec getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
index 64b0d73..a080dbd 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiSpecOrBuilder.java
@@ -1,178 +1,259 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiSpecOrBuilder extends
+public interface ApiSpecOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiSpec)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; + * * @return The filename. */ java.lang.String getFilename(); /** + * + * *
    * A possibly-hierarchical name used to refer to the spec from other specs.
    * 
* * string filename = 2; + * * @return The bytes for filename. */ - com.google.protobuf.ByteString - getFilenameBytes(); + com.google.protobuf.ByteString getFilenameBytes(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Output only. Immutable. The revision ID of the spec.
    * A new revision is committed whenever the spec contents are changed.
    * The format is an 8-character hexadecimal string.
    * 
* - * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp; when the spec resource was created.
    * 
* - * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionCreateTime field is set. */ boolean hasRevisionCreateTime(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionCreateTime. */ com.google.protobuf.Timestamp getRevisionCreateTime(); /** + * + * *
    * Output only. Revision creation timestamp; when the represented revision was created.
    * 
* - * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the revisionUpdateTime field is set. */ boolean hasRevisionUpdateTime(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The revisionUpdateTime. */ com.google.protobuf.Timestamp getRevisionUpdateTime(); /** + * + * *
    * Output only. Last update timestamp: when the represented revision was last modified.
    * 
* - * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder(); /** + * + * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -185,10 +266,13 @@ public interface ApiSpecOrBuilder extends
    * 
* * string mime_type = 8; + * * @return The mimeType. */ java.lang.String getMimeType(); /** + * + * *
    * A style (format) descriptor for this spec that is specified as a Media Type
    * (https://en.wikipedia.org/wiki/Media_type). Possible values include
@@ -201,45 +285,55 @@ public interface ApiSpecOrBuilder extends
    * 
* * string mime_type = 8; + * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString - getMimeTypeBytes(); + com.google.protobuf.ByteString getMimeTypeBytes(); /** + * + * *
    * Output only. The size of the spec file in bytes. If the spec is gzipped, this is the
    * size of the uncompressed spec.
    * 
* * int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ int getSizeBytes(); /** + * + * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ java.lang.String getHash(); /** + * + * *
    * Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is
    * the hash of the uncompressed spec.
    * 
* * string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ - com.google.protobuf.ByteString - getHashBytes(); + com.google.protobuf.ByteString getHashBytes(); /** + * + * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -248,10 +342,13 @@ public interface ApiSpecOrBuilder extends
    * 
* * string source_uri = 11; + * * @return The sourceUri. */ java.lang.String getSourceUri(); /** + * + * *
    * The original source URI of the spec (if one exists).
    * This is an external location that can be used for reference purposes
@@ -260,12 +357,14 @@ public interface ApiSpecOrBuilder extends
    * 
* * string source_uri = 11; + * * @return The bytes for sourceUri. */ - com.google.protobuf.ByteString - getSourceUriBytes(); + com.google.protobuf.ByteString getSourceUriBytes(); /** + * + * *
    * Input only. The contents of the spec.
    * Provided by API callers when specs are created or updated.
@@ -273,11 +372,14 @@ public interface ApiSpecOrBuilder extends
    * 
* * bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ com.google.protobuf.ByteString getContents(); /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -295,6 +397,8 @@ public interface ApiSpecOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -310,15 +414,13 @@ public interface ApiSpecOrBuilder extends
    *
    * map<string, string> labels = 14;
    */
-  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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -334,9 +436,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 14;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -354,11 +457,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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -374,11 +479,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 14;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -390,6 +495,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -399,15 +506,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 15;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -417,9 +522,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 15;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -431,11 +537,13 @@ boolean containsAnnotations(
    */
 
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -445,7 +553,5 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 15;
    */
-
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
index 12d64b8..6d20442 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersion.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
+ *
+ *
  * 
  * Describes a particular version of an API.
  * ApiVersions are what consumers actually use.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiVersion}
  */
-public final class ApiVersion extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ApiVersion extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ApiVersion)
     ApiVersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ApiVersion.newBuilder() to construct.
   private ApiVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ApiVersion() {
     name_ = "";
     displayName_ = "";
@@ -29,16 +47,15 @@ private ApiVersion() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ApiVersion();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ApiVersion(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,89 +75,99 @@ private ApiVersion(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            displayName_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              displayName_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 42: {
-            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 34:
+            {
+              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 42:
+            {
+              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:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            state_ = s;
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              state_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 66: {
-            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-              annotations_ = com.google.protobuf.MapField.newMapField(
-                  AnnotationsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000002;
+          case 58:
+            {
+              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
-            annotations__ = input.readMessage(
-                AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            annotations_.getMutableMap().put(
-                annotations__.getKey(), annotations__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 66:
+            {
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                annotations_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AnnotationsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000002;
+              }
+              com.google.protobuf.MapEntry annotations__ =
+                  input.readMessage(
+                      AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              annotations_.getMutableMap().put(annotations__.getKey(), annotations__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -148,48 +175,52 @@ private ApiVersion(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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 7:
         return internalGetLabels();
       case 8:
         return internalGetAnnotations();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.ApiVersion.class, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class);
+            com.google.cloud.apigeeregistry.v1.ApiVersion.class,
+            com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -198,29 +229,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; } } /** + * + * *
    * Resource name.
    * 
* * 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 { @@ -231,11 +262,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -244,29 +278,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; } } /** + * + * *
    * Human-meaningful name.
    * 
* * 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 { @@ -277,11 +311,14 @@ public java.lang.String getDisplayName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -290,29 +327,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A detailed description.
    * 
* * 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 { @@ -323,11 +360,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -335,11 +376,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -347,11 +392,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -361,11 +409,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -373,11 +425,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -385,11 +441,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -399,6 +458,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 6; private volatile java.lang.Object state_; /** + * + * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
@@ -407,6 +468,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string state = 6; + * * @return The state. */ @java.lang.Override @@ -415,14 +477,15 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
@@ -431,16 +494,15 @@ public java.lang.String getState() {
    * 
* * string state = 6; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -449,24 +511,23 @@ public java.lang.String getState() { } public static final int LABELS_FIELD_NUMBER = 7; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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.cloud.apigeeregistry.v1.RegistryModelsProto + .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_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_; } @@ -475,6 +536,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -490,22 +553,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 7;
    */
-
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -522,11 +585,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 7;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -543,16 +607,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 7;
    */
   @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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -569,12 +633,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 7;
    */
   @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();
     }
@@ -582,24 +645,24 @@ public java.lang.String getLabelsOrThrow(
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 8;
+
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_AnnotationsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> annotations_;
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+                .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_AnnotationsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField annotations_;
+
   private com.google.protobuf.MapField
-  internalGetAnnotations() {
+      internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -608,6 +671,8 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -617,22 +682,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 8;
    */
-
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -643,11 +708,12 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
-
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -658,16 +724,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
-
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -678,12 +745,11 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 8;
    */
   @java.lang.Override
-
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -691,6 +757,7 @@ public java.lang.String getAnnotationsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -702,8 +769,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -722,18 +788,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 6, state_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        7);
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAnnotations(),
-        AnnotationsDefaultEntryHolder.defaultEntry,
-        8);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 8);
     unknownFields.writeTo(output);
   }
 
@@ -753,35 +811,33 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, state_);
     }
-    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(7, labels__);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAnnotations().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(8, annotations__);
+    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(7, labels__);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAnnotations().getMap().entrySet()) {
+      com.google.protobuf.MapEntry annotations__ =
+          AnnotationsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, annotations__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -791,35 +847,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ApiVersion)) {
       return super.equals(obj);
     }
-    com.google.cloud.apigeeregistry.v1.ApiVersion other = (com.google.cloud.apigeeregistry.v1.ApiVersion) obj;
+    com.google.cloud.apigeeregistry.v1.ApiVersion other =
+        (com.google.cloud.apigeeregistry.v1.ApiVersion) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!getState()
-        .equals(other.getState())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!internalGetAnnotations().equals(
-        other.internalGetAnnotations())) return false;
+      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+    }
+    if (!getState().equals(other.getState())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -860,97 +909,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.apigeeregistry.v1.ApiVersion parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ApiVersion prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Describes a particular version of an API.
    * ApiVersions are what consumers actually use.
@@ -958,47 +1014,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.ApiVersion}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ApiVersion)
       com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 7:
           return internalGetLabels();
         case 8:
           return internalGetAnnotations();
         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 7:
           return internalGetMutableLabels();
         case 8:
           return internalGetMutableAnnotations();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.ApiVersion.class, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class);
+              com.google.cloud.apigeeregistry.v1.ApiVersion.class,
+              com.google.cloud.apigeeregistry.v1.ApiVersion.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder()
@@ -1006,16 +1062,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1045,9 +1100,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_ApiVersion_descriptor;
     }
 
     @java.lang.Override
@@ -1066,7 +1121,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.ApiVersion buildPartial() {
-      com.google.cloud.apigeeregistry.v1.ApiVersion result = new com.google.cloud.apigeeregistry.v1.ApiVersion(this);
+      com.google.cloud.apigeeregistry.v1.ApiVersion result =
+          new com.google.cloud.apigeeregistry.v1.ApiVersion(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.displayName_ = displayName_;
@@ -1094,38 +1150,39 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.ApiVersion) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiVersion)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.ApiVersion) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1156,10 +1213,8 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ApiVersion other) {
         state_ = other.state_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1188,22 +1243,25 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * 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; @@ -1212,20 +1270,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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 { @@ -1233,54 +1292,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * 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; @@ -1288,18 +1354,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1308,20 +1376,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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 { @@ -1329,54 +1398,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; } /** + * + * *
      * Human-meaningful name.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * Human-meaningful name.
      * 
* * 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; @@ -1384,18 +1460,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1404,20 +1482,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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 { @@ -1425,54 +1504,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A detailed description.
      * 
* * 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; } /** + * + * *
      * A detailed description.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A detailed description.
      * 
* * 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; @@ -1480,39 +1566,58 @@ 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_; /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1528,14 +1633,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1546,17 +1654,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -1568,11 +1680,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1586,48 +1702,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1635,39 +1767,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1683,14 +1834,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1701,17 +1855,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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; } @@ -1723,11 +1881,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1741,48 +1903,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1790,6 +1968,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object state_ = ""; /** + * + * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
@@ -1798,13 +1978,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string state = 6; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -1813,6 +1993,8 @@ public java.lang.String getState() { } } /** + * + * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
@@ -1821,15 +2003,14 @@ public java.lang.String getState() {
      * 
* * string state = 6; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1837,6 +2018,8 @@ public java.lang.String getState() { } } /** + * + * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
@@ -1845,20 +2028,22 @@ public java.lang.String getState() {
      * 
* * string state = 6; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { + public Builder setState(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + state_ = value; onChanged(); return this; } /** + * + * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
@@ -1867,15 +2052,18 @@ public Builder setState(
      * 
* * string state = 6; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = getDefaultInstance().getState(); onChanged(); return this; } /** + * + * *
      * A user-definable description of the lifecycle phase of this API version.
      * Format: free-form, but we expect single words that describe API maturity,
@@ -1884,37 +2072,36 @@ public Builder clearState() {
      * 
* * string state = 6; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { + public Builder setStateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + state_ = 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(); @@ -1926,6 +2113,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -1941,22 +2130,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 7;
      */
-
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -1973,11 +2162,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 7;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -1994,16 +2184,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 7;
      */
     @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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2020,12 +2211,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 7;
      */
     @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();
       }
@@ -2033,11 +2223,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2053,23 +2244,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 7;
      */
-
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2085,19 +2274,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 7;
      */
-    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 attach identifying metadata to resources. Identifying metadata can
      * be used to filter list operations.
@@ -2113,30 +2303,29 @@ public Builder putLabels(
      *
      * map<string, string> labels = 7;
      */
-
-    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.MapField<
-        java.lang.String, java.lang.String> annotations_;
+    private com.google.protobuf.MapField annotations_;
+
     private com.google.protobuf.MapField
-    internalGetAnnotations() {
+        internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableAnnotations() {
-      onChanged();;
+        internalGetMutableAnnotations() {
+      onChanged();
+      ;
       if (annotations_ == null) {
-        annotations_ = com.google.protobuf.MapField.newMapField(
-            AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ =
+            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -2148,6 +2337,8 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2157,22 +2348,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 8;
      */
-
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2183,11 +2374,12 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
-
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2198,16 +2390,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
-
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2218,12 +2411,11 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 8;
      */
     @java.lang.Override
-
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2231,11 +2423,12 @@ public java.lang.String getAnnotationsOrThrow(
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2245,23 +2438,21 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 8;
      */
-
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2271,19 +2462,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 8;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAnnotations(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");
+      }
 
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations attach non-identifying metadata to resources.
      * Annotation keys and values are less restricted than those of labels, but
@@ -2293,16 +2485,13 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 8;
      */
-
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2312,12 +2501,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ApiVersion)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ApiVersion)
   private static final com.google.cloud.apigeeregistry.v1.ApiVersion DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ApiVersion();
   }
@@ -2326,16 +2515,16 @@ public static com.google.cloud.apigeeregistry.v1.ApiVersion getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ApiVersion parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new ApiVersion(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ApiVersion parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new ApiVersion(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2350,6 +2539,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.apigeeregistry.v1.ApiVersion getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
index 883e7f0..8ff2fe5 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ApiVersionOrBuilder.java
@@ -1,127 +1,182 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
-public interface ApiVersionOrBuilder extends
+public interface ApiVersionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ApiVersion)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-meaningful name.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A detailed description.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
@@ -130,10 +185,13 @@ public interface ApiVersionOrBuilder extends
    * 
* * string state = 6; + * * @return The state. */ java.lang.String getState(); /** + * + * *
    * A user-definable description of the lifecycle phase of this API version.
    * Format: free-form, but we expect single words that describe API maturity,
@@ -142,12 +200,14 @@ public interface ApiVersionOrBuilder extends
    * 
* * string state = 6; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); /** + * + * *
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -165,6 +225,8 @@ public interface ApiVersionOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -180,15 +242,13 @@ public interface ApiVersionOrBuilder extends
    *
    * map<string, string> labels = 7;
    */
-  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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -204,9 +264,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 7;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -224,11 +285,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 attach identifying metadata to resources. Identifying metadata can
    * be used to filter list operations.
@@ -244,11 +307,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 7;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -260,6 +323,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -269,15 +334,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 8;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -287,9 +350,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 8;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -301,11 +365,13 @@ boolean containsAnnotations(
    */
 
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations attach non-identifying metadata to resources.
    * Annotation keys and values are less restricted than those of labels, but
@@ -315,7 +381,5 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 8;
    */
-
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
index 65564e2..f3755c9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
+++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Artifact.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/apigeeregistry/v1/registry_models.proto
 
 package com.google.cloud.apigeeregistry.v1;
 
 /**
+ *
+ *
  * 
  * Artifacts of resources. Artifacts are unique (single-value) per resource
  * and are used to store metadata that is too large or numerous to be stored
@@ -17,15 +34,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.Artifact}
  */
-public final class Artifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Artifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Artifact)
     ArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Artifact.newBuilder() to construct.
   private Artifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Artifact() {
     name_ = "";
     mimeType_ = "";
@@ -35,16 +53,15 @@ private Artifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Artifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Artifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -63,67 +80,74 @@ private Artifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              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 26:
+            {
+              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 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              mimeType_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 40:
+            {
+              sizeBytes_ = input.readInt32();
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mimeType_ = s;
-            break;
-          }
-          case 40: {
-
-            sizeBytes_ = input.readInt32();
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            hash_ = s;
-            break;
-          }
-          case 58: {
-
-            contents_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              hash_ = s;
+              break;
+            }
+          case 58:
+            {
+              contents_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,34 +155,39 @@ private Artifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+        .internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.Artifact.class, com.google.cloud.apigeeregistry.v1.Artifact.Builder.class);
+            com.google.cloud.apigeeregistry.v1.Artifact.class,
+            com.google.cloud.apigeeregistry.v1.Artifact.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -167,29 +196,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; } } /** + * + * *
    * Resource name.
    * 
* * 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 { @@ -200,11 +229,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -212,11 +245,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -224,11 +261,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -238,11 +278,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -250,11 +294,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -262,11 +310,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -276,6 +327,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int MIME_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object mimeType_; /** + * + * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -286,6 +339,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string mime_type = 4; + * * @return The mimeType. */ @java.lang.Override @@ -294,14 +348,15 @@ public java.lang.String getMimeType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; } } /** + * + * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -312,16 +367,15 @@ public java.lang.String getMimeType() {
    * 
* * string mime_type = 4; + * * @return The bytes for mimeType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -332,12 +386,15 @@ public java.lang.String getMimeType() { public static final int SIZE_BYTES_FIELD_NUMBER = 5; private int sizeBytes_; /** + * + * *
    * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
    * the size of the uncompressed artifact.
    * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -348,12 +405,15 @@ public int getSizeBytes() { public static final int HASH_FIELD_NUMBER = 6; private volatile java.lang.Object hash_; /** + * + * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ @java.lang.Override @@ -362,30 +422,30 @@ public java.lang.String getHash() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; } } /** + * + * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ @java.lang.Override - public com.google.protobuf.ByteString - getHashBytes() { + public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hash_ = b; return b; } else { @@ -396,6 +456,8 @@ public java.lang.String getHash() { public static final int CONTENTS_FIELD_NUMBER = 7; private com.google.protobuf.ByteString contents_; /** + * + * *
    * Input only. The contents of the artifact.
    * Provided by API callers when artifacts are created or replaced.
@@ -403,6 +465,7 @@ public java.lang.String getHash() {
    * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ @java.lang.Override @@ -411,6 +474,7 @@ public com.google.protobuf.ByteString getContents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -422,8 +486,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -458,26 +521,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mimeType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mimeType_); } if (sizeBytes_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, hash_); } if (!contents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(7, contents_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, contents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -487,33 +546,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Artifact)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Artifact other = (com.google.cloud.apigeeregistry.v1.Artifact) obj; + com.google.cloud.apigeeregistry.v1.Artifact other = + (com.google.cloud.apigeeregistry.v1.Artifact) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!getMimeType() - .equals(other.getMimeType())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHash() - .equals(other.getHash())) return false; - if (!getContents() - .equals(other.getContents())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!getMimeType().equals(other.getMimeType())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHash().equals(other.getHash())) return false; + if (!getContents().equals(other.getContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -548,97 +601,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Artifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Artifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Artifacts of resources. Artifacts are unique (single-value) per resource
    * and are used to store metadata that is too large or numerous to be stored
@@ -652,21 +712,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.Artifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Artifact)
       com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Artifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.Artifact.class, com.google.cloud.apigeeregistry.v1.Artifact.Builder.class);
+              com.google.cloud.apigeeregistry.v1.Artifact.class,
+              com.google.cloud.apigeeregistry.v1.Artifact.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.Artifact.newBuilder()
@@ -674,16 +736,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -713,9 +774,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto.internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.RegistryModelsProto
+          .internal_static_google_cloud_apigeeregistry_v1_Artifact_descriptor;
     }
 
     @java.lang.Override
@@ -734,7 +795,8 @@ public com.google.cloud.apigeeregistry.v1.Artifact build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.Artifact buildPartial() {
-      com.google.cloud.apigeeregistry.v1.Artifact result = new com.google.cloud.apigeeregistry.v1.Artifact(this);
+      com.google.cloud.apigeeregistry.v1.Artifact result =
+          new com.google.cloud.apigeeregistry.v1.Artifact(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -758,38 +820,39 @@ public com.google.cloud.apigeeregistry.v1.Artifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.Artifact) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.Artifact)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.Artifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -853,18 +916,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Resource name.
      * 
* * 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; @@ -873,20 +938,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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 { @@ -894,54 +960,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name.
      * 
* * 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; } /** + * + * *
      * Resource name.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Resource name.
      * 
* * 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; @@ -949,39 +1022,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -997,14 +1089,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1015,17 +1110,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1037,11 +1136,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1055,48 +1158,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1104,39 +1223,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1152,14 +1290,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1170,17 +1311,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1192,11 +1337,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1210,48 +1359,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -1259,6 +1424,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object mimeType_ = ""; /** + * + * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1269,13 +1436,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string mime_type = 4; + * * @return The mimeType. */ public java.lang.String getMimeType() { java.lang.Object ref = mimeType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mimeType_ = s; return s; @@ -1284,6 +1451,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1294,15 +1463,14 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 4; + * * @return The bytes for mimeType. */ - public com.google.protobuf.ByteString - getMimeTypeBytes() { + public com.google.protobuf.ByteString getMimeTypeBytes() { java.lang.Object ref = mimeType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mimeType_ = b; return b; } else { @@ -1310,6 +1478,8 @@ public java.lang.String getMimeType() { } } /** + * + * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1320,20 +1490,22 @@ public java.lang.String getMimeType() {
      * 
* * string mime_type = 4; + * * @param value The mimeType to set. * @return This builder for chaining. */ - public Builder setMimeType( - java.lang.String value) { + public Builder setMimeType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mimeType_ = value; onChanged(); return this; } /** + * + * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1344,15 +1516,18 @@ public Builder setMimeType(
      * 
* * string mime_type = 4; + * * @return This builder for chaining. */ public Builder clearMimeType() { - + mimeType_ = getDefaultInstance().getMimeType(); onChanged(); return this; } /** + * + * *
      * A content type specifier for the artifact.
      * Content type specifiers are Media Types
@@ -1363,29 +1538,32 @@ public Builder clearMimeType() {
      * 
* * string mime_type = 4; + * * @param value The bytes for mimeType to set. * @return This builder for chaining. */ - public Builder setMimeTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mimeType_ = value; onChanged(); return this; } - private int sizeBytes_ ; + private int sizeBytes_; /** + * + * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -1393,32 +1571,38 @@ public int getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(int value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
      * the size of the uncompressed artifact.
      * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0; onChanged(); return this; @@ -1426,19 +1610,21 @@ public Builder clearSizeBytes() { private java.lang.Object hash_ = ""; /** + * + * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ public java.lang.String getHash() { java.lang.Object ref = hash_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hash_ = s; return s; @@ -1447,21 +1633,22 @@ public java.lang.String getHash() { } } /** + * + * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ - public com.google.protobuf.ByteString - getHashBytes() { + public com.google.protobuf.ByteString getHashBytes() { java.lang.Object ref = hash_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hash_ = b; return b; } else { @@ -1469,57 +1656,64 @@ public java.lang.String getHash() { } } /** + * + * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The hash to set. * @return This builder for chaining. */ - public Builder setHash( - java.lang.String value) { + public Builder setHash(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + hash_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearHash() { - + hash_ = getDefaultInstance().getHash(); onChanged(); return this; } /** + * + * *
      * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
      * this is the hash of the uncompressed artifact.
      * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for hash to set. * @return This builder for chaining. */ - public Builder setHashBytes( - com.google.protobuf.ByteString value) { + public Builder setHashBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + hash_ = value; onChanged(); return this; @@ -1527,6 +1721,8 @@ public Builder setHashBytes( private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1534,6 +1730,7 @@ public Builder setHashBytes(
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ @java.lang.Override @@ -1541,6 +1738,8 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** + * + * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1548,19 +1747,22 @@ public com.google.protobuf.ByteString getContents() {
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** + * + * *
      * Input only. The contents of the artifact.
      * Provided by API callers when artifacts are created or replaced.
@@ -1568,17 +1770,18 @@ public Builder setContents(com.google.protobuf.ByteString value) {
      * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1588,12 +1791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Artifact) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Artifact) private static final com.google.cloud.apigeeregistry.v1.Artifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Artifact(); } @@ -1602,16 +1805,16 @@ public static com.google.cloud.apigeeregistry.v1.Artifact getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Artifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Artifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Artifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Artifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1626,6 +1829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Artifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java index 9b1afbb..67cb7b2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ArtifactOrBuilder.java @@ -1,87 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_models.proto package com.google.cloud.apigeeregistry.v1; -public interface ArtifactOrBuilder extends +public interface ArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Artifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Resource name.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -92,10 +137,13 @@ public interface ArtifactOrBuilder extends
    * 
* * string mime_type = 4; + * * @return The mimeType. */ java.lang.String getMimeType(); /** + * + * *
    * A content type specifier for the artifact.
    * Content type specifiers are Media Types
@@ -106,45 +154,55 @@ public interface ArtifactOrBuilder extends
    * 
* * string mime_type = 4; + * * @return The bytes for mimeType. */ - com.google.protobuf.ByteString - getMimeTypeBytes(); + com.google.protobuf.ByteString getMimeTypeBytes(); /** + * + * *
    * Output only. The size of the artifact in bytes. If the artifact is gzipped, this is
    * the size of the uncompressed artifact.
    * 
* * int32 size_bytes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ int getSizeBytes(); /** + * + * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hash. */ java.lang.String getHash(); /** + * + * *
    * Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped,
    * this is the hash of the uncompressed artifact.
    * 
* * string hash = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hash. */ - com.google.protobuf.ByteString - getHashBytes(); + com.google.protobuf.ByteString getHashBytes(); /** + * + * *
    * Input only. The contents of the artifact.
    * Provided by API callers when artifacts are created or replaced.
@@ -152,6 +210,7 @@ public interface ArtifactOrBuilder extends
    * 
* * bytes contents = 7 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The contents. */ com.google.protobuf.ByteString getContents(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java index 8bee5d2..568c424 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest} */ -public final class CreateApiDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) CreateApiDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateApiDeploymentRequest.newBuilder() to construct. private CreateApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateApiDeploymentRequest() { parent_ = ""; apiDeploymentId_ = ""; @@ -26,16 +44,15 @@ private CreateApiDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateApiDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; - if (apiDeployment_ != null) { - subBuilder = apiDeployment_.toBuilder(); - } - apiDeployment_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiDeployment_); - apiDeployment_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; + if (apiDeployment_ != null) { + subBuilder = apiDeployment_.toBuilder(); + } + apiDeployment_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiDeployment_); + apiDeployment_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - apiDeploymentId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiDeploymentId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int API_DEPLOYMENT_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasApiDeployment() { return apiDeployment_ != null; } /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { - return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { @@ -202,6 +249,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int API_DEPLOYMENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiDeploymentId_; /** + * + * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -211,6 +260,7 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiDeploymentId. */ @java.lang.Override @@ -219,14 +269,15 @@ public java.lang.String getApiDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiDeploymentId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -236,16 +287,15 @@ public java.lang.String getApiDeploymentId() {
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiDeploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiDeploymentIdBytes() { + public com.google.protobuf.ByteString getApiDeploymentIdBytes() { java.lang.Object ref = apiDeploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiDeploymentId_ = b; return b; } else { @@ -254,6 +304,7 @@ public java.lang.String getApiDeploymentId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -289,8 +339,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getApiDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiDeployment()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiDeploymentId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiDeploymentId_); @@ -303,22 +352,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other = + (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasApiDeployment() != other.hasApiDeployment()) return false; if (hasApiDeployment()) { - if (!getApiDeployment() - .equals(other.getApiDeployment())) return false; + if (!getApiDeployment().equals(other.getApiDeployment())) return false; } - if (!getApiDeploymentId() - .equals(other.getApiDeploymentId())) return false; + if (!getApiDeploymentId().equals(other.getApiDeploymentId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,117 +391,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.newBuilder() @@ -462,16 +519,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,13 +545,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance(); } @@ -510,7 +567,8 @@ public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest result = + new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(this); result.parent_ = parent_; if (apiDeploymentBuilder_ == null) { result.apiDeployment_ = apiDeployment_; @@ -526,38 +584,39 @@ public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +624,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +657,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +671,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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; @@ -629,21 +696,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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 { @@ -651,57 +721,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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; @@ -709,39 +792,58 @@ public Builder setParentBytes( private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + apiDeploymentBuilder_; /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ public boolean hasApiDeployment() { return apiDeploymentBuilder_ != null || apiDeployment_ != null; } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { if (apiDeploymentBuilder_ == null) { - return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } else { return apiDeploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { @@ -757,11 +859,15 @@ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment return this; } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiDeployment( com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder builderForValue) { @@ -775,17 +881,23 @@ public Builder setApiDeployment( return this; } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { if (apiDeployment_ != null) { apiDeployment_ = - com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_) + .mergeFrom(value) + .buildPartial(); } else { apiDeployment_ = value; } @@ -797,11 +909,15 @@ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployme return this; } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiDeployment() { if (apiDeploymentBuilder_ == null) { @@ -815,48 +931,64 @@ public Builder clearApiDeployment() { return this; } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeploymentBuilder() { - + onChanged(); return getApiDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { if (apiDeploymentBuilder_ != null) { return apiDeploymentBuilder_.getMessageOrBuilder(); } else { - return apiDeployment_ == null ? - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } } /** + * + * *
      * Required. The deployment to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentFieldBuilder() { if (apiDeploymentBuilder_ == null) { - apiDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( - getApiDeployment(), - getParentForChildren(), - isClean()); + apiDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + getApiDeployment(), getParentForChildren(), isClean()); apiDeployment_ = null; } return apiDeploymentBuilder_; @@ -864,6 +996,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen private java.lang.Object apiDeploymentId_ = ""; /** + * + * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -873,13 +1007,13 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiDeploymentId. */ public java.lang.String getApiDeploymentId() { java.lang.Object ref = apiDeploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiDeploymentId_ = s; return s; @@ -888,6 +1022,8 @@ public java.lang.String getApiDeploymentId() { } } /** + * + * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -897,15 +1033,14 @@ public java.lang.String getApiDeploymentId() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiDeploymentId. */ - public com.google.protobuf.ByteString - getApiDeploymentIdBytes() { + public com.google.protobuf.ByteString getApiDeploymentIdBytes() { java.lang.Object ref = apiDeploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiDeploymentId_ = b; return b; } else { @@ -913,6 +1048,8 @@ public java.lang.String getApiDeploymentId() { } } /** + * + * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -922,20 +1059,22 @@ public java.lang.String getApiDeploymentId() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The apiDeploymentId to set. * @return This builder for chaining. */ - public Builder setApiDeploymentId( - java.lang.String value) { + public Builder setApiDeploymentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiDeploymentId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -945,15 +1084,18 @@ public Builder setApiDeploymentId(
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApiDeploymentId() { - + apiDeploymentId_ = getDefaultInstance().getApiDeploymentId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the deployment, which will become the final component of
      * the deployment's resource name.
@@ -963,23 +1105,23 @@ public Builder clearApiDeploymentId() {
      * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for apiDeploymentId to set. * @return This builder for chaining. */ - public Builder setApiDeploymentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setApiDeploymentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiDeploymentId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1131,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest(); } @@ -1003,16 +1146,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1170,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java index 19d23f2..7ed4b9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiDeploymentRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiDeploymentRequestOrBuilder extends +public interface CreateApiDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ boolean hasApiDeployment(); /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(); /** + * + * *
    * Required. The deployment to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder(); /** + * + * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -66,10 +107,13 @@ public interface CreateApiDeploymentRequestOrBuilder extends
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiDeploymentId. */ java.lang.String getApiDeploymentId(); /** + * + * *
    * Required. The ID to use for the deployment, which will become the final component of
    * the deployment's resource name.
@@ -79,8 +123,8 @@ public interface CreateApiDeploymentRequestOrBuilder extends
    * 
* * string api_deployment_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiDeploymentId. */ - com.google.protobuf.ByteString - getApiDeploymentIdBytes(); + com.google.protobuf.ByteString getApiDeploymentIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java index a271718..8d3642e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiRequest} */ -public final class CreateApiRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateApiRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiRequest) CreateApiRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateApiRequest.newBuilder() to construct. private CreateApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateApiRequest() { parent_ = ""; apiId_ = ""; @@ -26,16 +44,15 @@ private CreateApiRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateApiRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; - if (api_ != null) { - subBuilder = api_.toBuilder(); - } - api_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(api_); - api_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; + if (api_ != null) { + subBuilder = api_.toBuilder(); + } + api_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(api_); + api_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - apiId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,15 @@ public java.lang.String getParent() { public static final int API_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.Api api_; /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ @java.lang.Override @@ -176,11 +211,15 @@ public boolean hasApi() { return api_ != null; } /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ @java.lang.Override @@ -188,11 +227,14 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { @@ -202,6 +244,8 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { public static final int API_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiId_; /** + * + * *
    * Required. The ID to use for the API, which will become the final component of
    * the API's resource name.
@@ -211,6 +255,7 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() {
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiId. */ @java.lang.Override @@ -219,14 +264,15 @@ public java.lang.String getApiId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the API, which will become the final component of
    * the API's resource name.
@@ -236,16 +282,15 @@ public java.lang.String getApiId() {
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiIdBytes() { + public com.google.protobuf.ByteString getApiIdBytes() { java.lang.Object ref = apiId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiId_ = b; return b; } else { @@ -254,6 +299,7 @@ public java.lang.String getApiId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,8 +334,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (api_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getApi()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApi()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiId_); @@ -303,22 +347,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiRequest other = + (com.google.cloud.apigeeregistry.v1.CreateApiRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasApi() != other.hasApi()) return false; if (hasApi()) { - if (!getApi() - .equals(other.getApi())) return false; + if (!getApi().equals(other.getApi())) return false; } - if (!getApiId() - .equals(other.getApiId())) return false; + if (!getApiId().equals(other.getApiId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,117 +386,126 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiRequest) com.google.cloud.apigeeregistry.v1.CreateApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiRequest.newBuilder() @@ -462,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor; } @java.lang.Override @@ -510,7 +560,8 @@ public com.google.cloud.apigeeregistry.v1.CreateApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiRequest result = + new com.google.cloud.apigeeregistry.v1.CreateApiRequest(this); result.parent_ = parent_; if (apiBuilder_ == null) { result.api_ = api_; @@ -526,38 +577,39 @@ public com.google.cloud.apigeeregistry.v1.CreateApiRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -629,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -651,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -709,24 +783,35 @@ public Builder setParentBytes( private com.google.cloud.apigeeregistry.v1.Api api_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apiBuilder_; + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + apiBuilder_; /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ public boolean hasApi() { return apiBuilder_ != null || api_ != null; } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ public com.google.cloud.apigeeregistry.v1.Api getApi() { @@ -737,11 +822,14 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { } } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { @@ -757,14 +845,16 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setApi( - com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apiBuilder_ == null) { api_ = builderForValue.build(); onChanged(); @@ -775,17 +865,22 @@ public Builder setApi( return this; } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { if (api_ != null) { api_ = - com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_) + .mergeFrom(value) + .buildPartial(); } else { api_ = value; } @@ -797,11 +892,14 @@ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApi() { if (apiBuilder_ == null) { @@ -815,48 +913,59 @@ public Builder clearApi() { return this; } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Api.Builder getApiBuilder() { - + onChanged(); return getApiFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { if (apiBuilder_ != null) { return apiBuilder_.getMessageOrBuilder(); } else { - return api_ == null ? - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; + return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } } /** + * + * *
      * Required. The API to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApiFieldBuilder() { if (apiBuilder_ == null) { - apiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - getApi(), - getParentForChildren(), - isClean()); + apiBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + getApi(), getParentForChildren(), isClean()); api_ = null; } return apiBuilder_; @@ -864,6 +973,8 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { private java.lang.Object apiId_ = ""; /** + * + * *
      * Required. The ID to use for the API, which will become the final component of
      * the API's resource name.
@@ -873,13 +984,13 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() {
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiId. */ public java.lang.String getApiId() { java.lang.Object ref = apiId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiId_ = s; return s; @@ -888,6 +999,8 @@ public java.lang.String getApiId() { } } /** + * + * *
      * Required. The ID to use for the API, which will become the final component of
      * the API's resource name.
@@ -897,15 +1010,14 @@ public java.lang.String getApiId() {
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiId. */ - public com.google.protobuf.ByteString - getApiIdBytes() { + public com.google.protobuf.ByteString getApiIdBytes() { java.lang.Object ref = apiId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiId_ = b; return b; } else { @@ -913,6 +1025,8 @@ public java.lang.String getApiId() { } } /** + * + * *
      * Required. The ID to use for the API, which will become the final component of
      * the API's resource name.
@@ -922,20 +1036,22 @@ public java.lang.String getApiId() {
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The apiId to set. * @return This builder for chaining. */ - public Builder setApiId( - java.lang.String value) { + public Builder setApiId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the API, which will become the final component of
      * the API's resource name.
@@ -945,15 +1061,18 @@ public Builder setApiId(
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApiId() { - + apiId_ = getDefaultInstance().getApiId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the API, which will become the final component of
      * the API's resource name.
@@ -963,23 +1082,23 @@ public Builder clearApiId() {
      * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for apiId to set. * @return This builder for chaining. */ - public Builder setApiIdBytes( - com.google.protobuf.ByteString value) { + public Builder setApiIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1108,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiRequest(); } @@ -1003,16 +1122,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1146,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java index 84746e0..824b1e5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiRequestOrBuilder.java @@ -1,62 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiRequestOrBuilder extends +public interface CreateApiRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ boolean hasApi(); /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ com.google.cloud.apigeeregistry.v1.Api getApi(); /** + * + * *
    * Required. The API to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder(); /** + * + * *
    * Required. The ID to use for the API, which will become the final component of
    * the API's resource name.
@@ -66,10 +104,13 @@ public interface CreateApiRequestOrBuilder extends
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiId. */ java.lang.String getApiId(); /** + * + * *
    * Required. The ID to use for the API, which will become the final component of
    * the API's resource name.
@@ -79,8 +120,8 @@ public interface CreateApiRequestOrBuilder extends
    * 
* * string api_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiId. */ - com.google.protobuf.ByteString - getApiIdBytes(); + com.google.protobuf.ByteString getApiIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java index b8f4bb7..f707116 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiSpecRequest} */ -public final class CreateApiSpecRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) CreateApiSpecRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateApiSpecRequest.newBuilder() to construct. private CreateApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateApiSpecRequest() { parent_ = ""; apiSpecId_ = ""; @@ -26,16 +44,15 @@ private CreateApiSpecRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateApiSpecRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; - if (apiSpec_ != null) { - subBuilder = apiSpec_.toBuilder(); - } - apiSpec_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiSpec_); - apiSpec_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; + if (apiSpec_ != null) { + subBuilder = apiSpec_.toBuilder(); + } + apiSpec_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiSpec_); + apiSpec_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - apiSpecId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiSpecId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int API_SPEC_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasApiSpec() { return apiSpec_ != null; } /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { - return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { @@ -202,6 +249,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() public static final int API_SPEC_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiSpecId_; /** + * + * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -211,6 +260,7 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiSpecId. */ @java.lang.Override @@ -219,14 +269,15 @@ public java.lang.String getApiSpecId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -236,16 +287,15 @@ public java.lang.String getApiSpecId() {
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiSpecId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiSpecIdBytes() { + public com.google.protobuf.ByteString getApiSpecIdBytes() { java.lang.Object ref = apiSpecId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiSpecId_ = b; return b; } else { @@ -254,6 +304,7 @@ public java.lang.String getApiSpecId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -289,8 +339,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getApiSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiSpec()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiSpecId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiSpecId_); @@ -303,22 +352,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other = + (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasApiSpec() != other.hasApiSpec()) return false; if (hasApiSpec()) { - if (!getApiSpec() - .equals(other.getApiSpec())) return false; + if (!getApiSpec().equals(other.getApiSpec())) return false; } - if (!getApiSpecId() - .equals(other.getApiSpecId())) return false; + if (!getApiSpecId().equals(other.getApiSpecId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,117 +391,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiSpecRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) com.google.cloud.apigeeregistry.v1.CreateApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.newBuilder() @@ -462,16 +519,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor; } @java.lang.Override @@ -510,7 +566,8 @@ public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest result = + new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(this); result.parent_ = parent_; if (apiSpecBuilder_ == null) { result.apiSpec_ = apiSpec_; @@ -526,38 +583,39 @@ public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +623,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +655,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +668,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 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; @@ -629,21 +693,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 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 { @@ -651,57 +718,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * 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; @@ -709,39 +789,58 @@ public Builder setParentBytes( private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + apiSpecBuilder_; /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ public boolean hasApiSpec() { return apiSpecBuilder_ != null || apiSpec_ != null; } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { if (apiSpecBuilder_ == null) { - return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } else { return apiSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { @@ -757,14 +856,17 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setApiSpec( - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecBuilder_ == null) { apiSpec_ = builderForValue.build(); onChanged(); @@ -775,17 +877,23 @@ public Builder setApiSpec( return this; } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { if (apiSpec_ != null) { apiSpec_ = - com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_) + .mergeFrom(value) + .buildPartial(); } else { apiSpec_ = value; } @@ -797,11 +905,15 @@ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiSpec() { if (apiSpecBuilder_ == null) { @@ -815,48 +927,64 @@ public Builder clearApiSpec() { return this; } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecBuilder() { - + onChanged(); return getApiSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { if (apiSpecBuilder_ != null) { return apiSpecBuilder_.getMessageOrBuilder(); } else { - return apiSpec_ == null ? - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } } /** + * + * *
      * Required. The spec to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecFieldBuilder() { if (apiSpecBuilder_ == null) { - apiSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - getApiSpec(), - getParentForChildren(), - isClean()); + apiSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + getApiSpec(), getParentForChildren(), isClean()); apiSpec_ = null; } return apiSpecBuilder_; @@ -864,6 +992,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() private java.lang.Object apiSpecId_ = ""; /** + * + * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -873,13 +1003,13 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiSpecId. */ public java.lang.String getApiSpecId() { java.lang.Object ref = apiSpecId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiSpecId_ = s; return s; @@ -888,6 +1018,8 @@ public java.lang.String getApiSpecId() { } } /** + * + * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -897,15 +1029,14 @@ public java.lang.String getApiSpecId() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiSpecId. */ - public com.google.protobuf.ByteString - getApiSpecIdBytes() { + public com.google.protobuf.ByteString getApiSpecIdBytes() { java.lang.Object ref = apiSpecId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiSpecId_ = b; return b; } else { @@ -913,6 +1044,8 @@ public java.lang.String getApiSpecId() { } } /** + * + * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -922,20 +1055,22 @@ public java.lang.String getApiSpecId() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The apiSpecId to set. * @return This builder for chaining. */ - public Builder setApiSpecId( - java.lang.String value) { + public Builder setApiSpecId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiSpecId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -945,15 +1080,18 @@ public Builder setApiSpecId(
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApiSpecId() { - + apiSpecId_ = getDefaultInstance().getApiSpecId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the spec, which will become the final component of
      * the spec's resource name.
@@ -963,23 +1101,23 @@ public Builder clearApiSpecId() {
      * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for apiSpecId to set. * @return This builder for chaining. */ - public Builder setApiSpecIdBytes( - com.google.protobuf.ByteString value) { + public Builder setApiSpecIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiSpecId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1127,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest(); } @@ -1003,16 +1141,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1165,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java index 6af64b9..ab6388d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiSpecRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiSpecRequestOrBuilder extends +public interface CreateApiSpecRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ boolean hasApiSpec(); /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(); /** + * + * *
    * Required. The spec to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder(); /** + * + * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -66,10 +107,13 @@ public interface CreateApiSpecRequestOrBuilder extends
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiSpecId. */ java.lang.String getApiSpecId(); /** + * + * *
    * Required. The ID to use for the spec, which will become the final component of
    * the spec's resource name.
@@ -79,8 +123,8 @@ public interface CreateApiSpecRequestOrBuilder extends
    * 
* * string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiSpecId. */ - com.google.protobuf.ByteString - getApiSpecIdBytes(); + com.google.protobuf.ByteString getApiSpecIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java index ae95250..da41701 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiVersionRequest} */ -public final class CreateApiVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) CreateApiVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateApiVersionRequest.newBuilder() to construct. private CreateApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateApiVersionRequest() { parent_ = ""; apiVersionId_ = ""; @@ -26,16 +44,15 @@ private CreateApiVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateApiVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; - if (apiVersion_ != null) { - subBuilder = apiVersion_.toBuilder(); - } - apiVersion_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiVersion_); - apiVersion_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; + if (apiVersion_ != null) { + subBuilder = apiVersion_.toBuilder(); + } + apiVersion_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiVersion_); + apiVersion_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int API_VERSION_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasApiVersion() { return apiVersion_ != null; } /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { - return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { @@ -202,6 +249,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui public static final int API_VERSION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object apiVersionId_; /** + * + * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -211,6 +260,7 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiVersionId. */ @java.lang.Override @@ -219,14 +269,15 @@ public java.lang.String getApiVersionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersionId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -236,16 +287,15 @@ public java.lang.String getApiVersionId() {
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiVersionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionIdBytes() { + public com.google.protobuf.ByteString getApiVersionIdBytes() { java.lang.Object ref = apiVersionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersionId_ = b; return b; } else { @@ -254,6 +304,7 @@ public java.lang.String getApiVersionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -289,8 +339,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (apiVersion_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getApiVersion()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getApiVersion()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, apiVersionId_); @@ -303,22 +352,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other = + (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasApiVersion() != other.hasApiVersion()) return false; if (hasApiVersion()) { - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; } - if (!getApiVersionId() - .equals(other.getApiVersionId())) return false; + if (!getApiVersionId().equals(other.getApiVersionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,117 +391,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateApiVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) com.google.cloud.apigeeregistry.v1.CreateApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.newBuilder() @@ -462,16 +519,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor; } @java.lang.Override @@ -510,7 +566,8 @@ public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest result = + new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(this); result.parent_ = parent_; if (apiVersionBuilder_ == null) { result.apiVersion_ = apiVersion_; @@ -526,38 +583,39 @@ public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +623,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +655,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +668,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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; @@ -629,21 +693,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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 { @@ -651,57 +718,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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; @@ -709,39 +789,58 @@ public Builder setParentBytes( private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + apiVersionBuilder_; /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ public boolean hasApiVersion() { return apiVersionBuilder_ != null || apiVersion_ != null; } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { if (apiVersionBuilder_ == null) { - return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } else { return apiVersionBuilder_.getMessage(); } } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { @@ -757,11 +856,15 @@ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value return this; } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiVersion( com.google.cloud.apigeeregistry.v1.ApiVersion.Builder builderForValue) { @@ -775,17 +878,23 @@ public Builder setApiVersion( return this; } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { if (apiVersion_ != null) { apiVersion_ = - com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_) + .mergeFrom(value) + .buildPartial(); } else { apiVersion_ = value; } @@ -797,11 +906,15 @@ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion val return this; } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiVersion() { if (apiVersionBuilder_ == null) { @@ -815,48 +928,64 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionBuilder() { - + onChanged(); return getApiVersionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { if (apiVersionBuilder_ != null) { return apiVersionBuilder_.getMessageOrBuilder(); } else { - return apiVersion_ == null ? - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } } /** + * + * *
      * Required. The version to create.
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionFieldBuilder() { if (apiVersionBuilder_ == null) { - apiVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - getApiVersion(), - getParentForChildren(), - isClean()); + apiVersionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + getApiVersion(), getParentForChildren(), isClean()); apiVersion_ = null; } return apiVersionBuilder_; @@ -864,6 +993,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui private java.lang.Object apiVersionId_ = ""; /** + * + * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -873,13 +1004,13 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiVersionId. */ public java.lang.String getApiVersionId() { java.lang.Object ref = apiVersionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersionId_ = s; return s; @@ -888,6 +1019,8 @@ public java.lang.String getApiVersionId() { } } /** + * + * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -897,15 +1030,14 @@ public java.lang.String getApiVersionId() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiVersionId. */ - public com.google.protobuf.ByteString - getApiVersionIdBytes() { + public com.google.protobuf.ByteString getApiVersionIdBytes() { java.lang.Object ref = apiVersionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersionId_ = b; return b; } else { @@ -913,6 +1045,8 @@ public java.lang.String getApiVersionId() { } } /** + * + * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -922,20 +1056,22 @@ public java.lang.String getApiVersionId() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The apiVersionId to set. * @return This builder for chaining. */ - public Builder setApiVersionId( - java.lang.String value) { + public Builder setApiVersionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -945,15 +1081,18 @@ public Builder setApiVersionId(
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearApiVersionId() { - + apiVersionId_ = getDefaultInstance().getApiVersionId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the version, which will become the final component of
      * the version's resource name.
@@ -963,23 +1102,23 @@ public Builder clearApiVersionId() {
      * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for apiVersionId to set. * @return This builder for chaining. */ - public Builder setApiVersionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersionId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1128,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest(); } @@ -1003,16 +1142,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1166,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java index 7590ad0..ff7dba6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateApiVersionRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateApiVersionRequestOrBuilder extends +public interface CreateApiVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateApiVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ boolean hasApiVersion(); /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(); /** + * + * *
    * Required. The version to create.
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder(); /** + * + * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -66,10 +107,13 @@ public interface CreateApiVersionRequestOrBuilder extends
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The apiVersionId. */ java.lang.String getApiVersionId(); /** + * + * *
    * Required. The ID to use for the version, which will become the final component of
    * the version's resource name.
@@ -79,8 +123,8 @@ public interface CreateApiVersionRequestOrBuilder extends
    * 
* * string api_version_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for apiVersionId. */ - com.google.protobuf.ByteString - getApiVersionIdBytes(); + com.google.protobuf.ByteString getApiVersionIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java index 2b0b8fe..8c6289b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateArtifactRequest} */ -public final class CreateArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateArtifactRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateArtifactRequest) CreateArtifactRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateArtifactRequest.newBuilder() to construct. private CreateArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateArtifactRequest() { parent_ = ""; artifactId_ = ""; @@ -26,16 +44,15 @@ private CreateArtifactRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateArtifactRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); - } - artifact_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - artifactId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + artifactId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int ARTIFACT_FIELD_NUMBER = 2; private com.google.cloud.apigeeregistry.v1.Artifact artifact_; /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasArtifact() { return artifact_ != null; } /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { - return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { @@ -202,6 +249,8 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder public static final int ARTIFACT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object artifactId_; /** + * + * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -211,6 +260,7 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ @java.lang.Override @@ -219,14 +269,15 @@ public java.lang.String getArtifactId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -236,16 +287,15 @@ public java.lang.String getArtifactId() {
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ @java.lang.Override - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -254,6 +304,7 @@ public java.lang.String getArtifactId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -289,8 +339,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getArtifact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getArtifact()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(artifactId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, artifactId_); @@ -303,22 +352,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other = (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other = + (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasArtifact() != other.hasArtifact()) return false; if (hasArtifact()) { - if (!getArtifact() - .equals(other.getArtifact())) return false; + if (!getArtifact().equals(other.getArtifact())) return false; } - if (!getArtifactId() - .equals(other.getArtifactId())) return false; + if (!getArtifactId().equals(other.getArtifactId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -344,117 +391,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateArtifactRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateArtifactRequest) com.google.cloud.apigeeregistry.v1.CreateArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.newBuilder() @@ -462,16 +519,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -489,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor; } @java.lang.Override @@ -510,7 +566,8 @@ public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateArtifactRequest result = new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.CreateArtifactRequest result = + new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(this); result.parent_ = parent_; if (artifactBuilder_ == null) { result.artifact_ = artifact_; @@ -526,38 +583,39 @@ public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) other); } else { super.mergeFrom(other); return this; @@ -565,7 +623,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateArtifactRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,7 +655,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,19 +668,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 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; @@ -629,21 +693,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 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 { @@ -651,57 +718,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * 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; @@ -709,39 +789,58 @@ public Builder setParentBytes( private com.google.cloud.apigeeregistry.v1.Artifact artifact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + artifactBuilder_; /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ public boolean hasArtifact() { return artifactBuilder_ != null || artifact_ != null; } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { if (artifactBuilder_ == null) { - return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } else { return artifactBuilder_.getMessage(); } } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { @@ -757,11 +856,15 @@ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setArtifact( com.google.cloud.apigeeregistry.v1.Artifact.Builder builderForValue) { @@ -775,17 +878,23 @@ public Builder setArtifact( return this; } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { if (artifact_ != null) { artifact_ = - com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_) + .mergeFrom(value) + .buildPartial(); } else { artifact_ = value; } @@ -797,11 +906,15 @@ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) return this; } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearArtifact() { if (artifactBuilder_ == null) { @@ -815,48 +928,64 @@ public Builder clearArtifact() { return this; } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactBuilder() { - + onChanged(); return getArtifactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilder(); } else { - return artifact_ == null ? - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } } /** + * + * *
      * Required. The artifact to create.
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { - artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - getArtifact(), - getParentForChildren(), - isClean()); + artifactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + getArtifact(), getParentForChildren(), isClean()); artifact_ = null; } return artifactBuilder_; @@ -864,6 +993,8 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder private java.lang.Object artifactId_ = ""; /** + * + * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -873,13 +1004,13 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ public java.lang.String getArtifactId() { java.lang.Object ref = artifactId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); artifactId_ = s; return s; @@ -888,6 +1019,8 @@ public java.lang.String getArtifactId() { } } /** + * + * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -897,15 +1030,14 @@ public java.lang.String getArtifactId() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - public com.google.protobuf.ByteString - getArtifactIdBytes() { + public com.google.protobuf.ByteString getArtifactIdBytes() { java.lang.Object ref = artifactId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); artifactId_ = b; return b; } else { @@ -913,6 +1045,8 @@ public java.lang.String getArtifactId() { } } /** + * + * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -922,20 +1056,22 @@ public java.lang.String getArtifactId() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactId( - java.lang.String value) { + public Builder setArtifactId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + artifactId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -945,15 +1081,18 @@ public Builder setArtifactId(
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearArtifactId() { - + artifactId_ = getDefaultInstance().getArtifactId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the artifact, which will become the final component of
      * the artifact's resource name.
@@ -963,23 +1102,23 @@ public Builder clearArtifactId() {
      * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for artifactId to set. * @return This builder for chaining. */ - public Builder setArtifactIdBytes( - com.google.protobuf.ByteString value) { + public Builder setArtifactIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifactId_ = value; onChanged(); return this; } + @java.lang.Override - 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 +1128,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.CreateArtifactRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateArtifactRequest(); } @@ -1003,16 +1142,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateArtifactRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1166,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java index 378de0e..c024a43 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateArtifactRequestOrBuilder.java @@ -1,62 +1,103 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateArtifactRequestOrBuilder extends +public interface CreateArtifactRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateArtifactRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ boolean hasArtifact(); /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ com.google.cloud.apigeeregistry.v1.Artifact getArtifact(); /** + * + * *
    * Required. The artifact to create.
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder(); /** + * + * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -66,10 +107,13 @@ public interface CreateArtifactRequestOrBuilder extends
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The artifactId. */ java.lang.String getArtifactId(); /** + * + * *
    * Required. The ID to use for the artifact, which will become the final component of
    * the artifact's resource name.
@@ -79,8 +123,8 @@ public interface CreateArtifactRequestOrBuilder extends
    * 
* * string artifact_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for artifactId. */ - com.google.protobuf.ByteString - getArtifactIdBytes(); + com.google.protobuf.ByteString getArtifactIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java index dd96e97..8820782 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for CreateInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.CreateInstanceRequest) CreateInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -26,16 +44,15 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateInstanceRequest( 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(); - instanceId_ = s; - break; - } - case 26: { - com.google.cloud.apigeeregistry.v1.Instance.Builder subBuilder = null; - if (instance_ != null) { - subBuilder = instance_.toBuilder(); + parent_ = s; + break; } - instance_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Instance.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(instance_); - instance_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + instanceId_ = s; + break; } + case 26: + { + com.google.cloud.apigeeregistry.v1.Instance.Builder subBuilder = null; + if (instance_ != null) { + subBuilder = instance_.toBuilder(); + } + instance_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.Instance.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(instance_); + instance_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,41 @@ private CreateInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,29 +158,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. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -162,12 +193,15 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object instanceId_; /** + * + * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -176,30 +210,30 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** + * + * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceId_ = b; return b; } else { @@ -210,11 +244,16 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.apigeeregistry.v1.Instance instance_; /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -222,23 +261,34 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder() { @@ -246,6 +296,7 @@ public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -284,8 +334,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +344,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other = (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other = + (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getInstanceId() - .equals(other.getInstanceId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getInstanceId().equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; + if (!getInstance().equals(other.getInstance())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,117 +383,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for CreateInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.CreateInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.CreateInstanceRequest) com.google.cloud.apigeeregistry.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.newBuilder() @@ -454,16 +511,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -502,7 +558,8 @@ public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.CreateInstanceRequest result = new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.CreateInstanceRequest result = + new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(this); result.parent_ = parent_; result.instanceId_ = instanceId_; if (instanceBuilder_ == null) { @@ -518,38 +575,39 @@ public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -557,7 +615,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,7 +647,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.CreateInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,18 +660,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,20 +684,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -641,54 +708,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -696,19 +776,21 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -717,21 +799,22 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString - getInstanceIdBytes() { + public com.google.protobuf.ByteString getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceId_ = b; return b; } else { @@ -739,57 +822,64 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * Required. Identifier to assign to the Instance. Must be unique within scope of the
      * parent resource.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -797,39 +887,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.apigeeregistry.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.apigeeregistry.v1.Instance, + com.google.cloud.apigeeregistry.v1.Instance.Builder, + com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return instanceBuilder_ != null || instance_ != null; } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.apigeeregistry.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.apigeeregistry.v1.Instance value) { if (instanceBuilder_ == null) { @@ -845,11 +954,15 @@ public Builder setInstance(com.google.cloud.apigeeregistry.v1.Instance value) { return this; } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance( com.google.cloud.apigeeregistry.v1.Instance.Builder builderForValue) { @@ -863,17 +976,23 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.apigeeregistry.v1.Instance value) { if (instanceBuilder_ == null) { if (instance_ != null) { instance_ = - com.google.cloud.apigeeregistry.v1.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -885,11 +1004,15 @@ public Builder mergeInstance(com.google.cloud.apigeeregistry.v1.Instance value) return this; } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { if (instanceBuilder_ == null) { @@ -903,55 +1026,71 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Instance.Builder getInstanceBuilder() { - + onChanged(); return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> + com.google.cloud.apigeeregistry.v1.Instance, + com.google.cloud.apigeeregistry.v1.Instance.Builder, + com.google.cloud.apigeeregistry.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance, com.google.cloud.apigeeregistry.v1.Instance.Builder, com.google.cloud.apigeeregistry.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Instance, + com.google.cloud.apigeeregistry.v1.Instance.Builder, + com.google.cloud.apigeeregistry.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -961,12 +1100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.CreateInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.CreateInstanceRequest(); } @@ -975,16 +1114,16 @@ public static com.google.cloud.apigeeregistry.v1.CreateInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,6 +1138,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java index 054683c..3d2dbb6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/CreateInstanceRequestOrBuilder.java @@ -1,78 +1,122 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. Identifier to assign to the Instance. Must be unique within scope of the
    * parent resource.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString - getInstanceIdBytes(); + com.google.protobuf.ByteString getInstanceIdBytes(); /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.apigeeregistry.v1.Instance getInstance(); /** + * + * *
    * Required. The Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.InstanceOrBuilder getInstanceOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java index e8a5d3f..be897ee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest} */ -public final class DeleteApiDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) DeleteApiDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiDeploymentRequest.newBuilder() to construct. private DeleteApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteApiDeploymentRequest( 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,35 +96,42 @@ private DeleteApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the deployment to delete.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.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 @@ -115,30 +140,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the deployment to delete.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +176,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -163,6 +193,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -195,8 +225,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; @@ -206,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) 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; } @@ -231,125 +259,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.newBuilder() @@ -357,16 +394,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +414,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance(); } @@ -399,7 +436,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -410,38 +448,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +488,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,7 +517,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,19 +531,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment to delete.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string name = 1 [(.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; @@ -509,21 +556,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to delete.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -531,70 +581,86 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to delete.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * 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 deployment to delete.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string 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 deployment to delete.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -602,39 +668,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +716,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest(); } @@ -658,16 +731,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,6 +755,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java index 0f08f62..ee47fec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRequestOrBuilder.java @@ -1,41 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface DeleteApiDeploymentRequestOrBuilder extends +public interface DeleteApiDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the deployment to delete.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the deployment to delete.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java index 176f129..7e08825 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApiDeploymentRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest} */ -public final class DeleteApiDeploymentRevisionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiDeploymentRevisionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) DeleteApiDeploymentRevisionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiDeploymentRevisionRequest.newBuilder() to construct. - private DeleteApiDeploymentRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteApiDeploymentRevisionRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiDeploymentRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiDeploymentRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiDeploymentRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteApiDeploymentRevisionRequest( 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,29 +92,33 @@ private DeleteApiDeploymentRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the deployment revision to be deleted,
    * with a revision ID explicitly included.
@@ -103,7 +126,10 @@ private DeleteApiDeploymentRevisionRequest(
    * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
    * 
* - * string name = 1 [(.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 @@ -112,14 +138,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. The name of the deployment revision to be deleted,
    * with a revision ID explicitly included.
@@ -127,17 +154,18 @@ public java.lang.String getName() {
    * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
    * 
* - * string name = 1 [(.google.api.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 { @@ -146,6 +174,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +210,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,134 +238,145 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApiDeploymentRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.Builder.class); } - // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.newBuilder() + // Construct using + // com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,14 +386,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + .getDefaultInstance(); } @java.lang.Override @@ -368,7 +409,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest bui @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,46 +420,51 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest 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.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest)other); + return mergeFrom( + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest other) { + if (other + == com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -441,7 +488,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -453,6 +502,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
@@ -460,14 +511,16 @@ public Builder mergeFrom(
      * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * string name = 1 [(.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; @@ -476,6 +529,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
@@ -483,16 +538,17 @@ public java.lang.String getName() {
      * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * string name = 1 [(.google.api.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 { @@ -500,6 +556,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment revision to be deleted,
      * with a revision ID explicitly included.
@@ -507,21 +565,25 @@ public java.lang.String getName() {
      * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * 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 deployment revision to be deleted,
      * with a revision ID explicitly included.
@@ -529,16 +591,21 @@ public Builder setName(
      * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * string 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 deployment revision to be deleted,
      * with a revision ID explicitly included.
@@ -546,24 +613,26 @@ public Builder clearName() {
      * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
      * 
* - * 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); } @@ -573,30 +642,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiDeploymentRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiDeploymentRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiDeploymentRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiDeploymentRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -608,9 +679,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java new file mode 100644 index 0000000..4ca6bc8 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiDeploymentRevisionRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiDeploymentRevisionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiDeploymentRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java index ac35116..8f5e480 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiRequest} */ -public final class DeleteApiRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiRequest) DeleteApiRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiRequest.newBuilder() to construct. private DeleteApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteApiRequest( 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,35 +96,42 @@ private DeleteApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the API to delete.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string name = 1 [(.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 @@ -115,30 +140,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the API to delete.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +176,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -163,6 +193,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -195,8 +225,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; @@ -206,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) 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; } @@ -231,125 +259,133 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiRequest) com.google.cloud.apigeeregistry.v1.DeleteApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiRequest.newBuilder() @@ -357,16 +393,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor; } @java.lang.Override @@ -399,7 +434,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -410,38 +446,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,7 +514,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,19 +527,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the API to delete.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string name = 1 [(.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; @@ -509,21 +552,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the API to delete.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -531,70 +577,86 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the API to delete.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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 API to delete.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string 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 API to delete.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -602,39 +664,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiRequest(); } @@ -658,16 +726,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,6 +750,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java new file mode 100644 index 0000000..90ee127 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiRequestOrBuilder.java @@ -0,0 +1,70 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the API to delete.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the API to delete.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, any child resources will also be deleted.
+   * (Otherwise, the request will only work if there are no child resources.)
+   * 
+ * + * bool force = 2; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java index 1cade39..8e89072 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRequest} */ -public final class DeleteApiSpecRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) DeleteApiSpecRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiSpecRequest.newBuilder() to construct. private DeleteApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiSpecRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteApiSpecRequest( 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,35 +96,42 @@ private DeleteApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.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 @@ -115,30 +140,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the spec to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +176,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -163,6 +193,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -195,8 +225,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; @@ -206,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) 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; } @@ -231,125 +259,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.newBuilder() @@ -357,16 +394,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor; } @java.lang.Override @@ -399,7 +435,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -410,38 +447,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,7 +515,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,19 +528,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.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; @@ -509,21 +553,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -531,70 +578,86 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * 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 spec to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string 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 spec to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -602,39 +665,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest(); } @@ -658,16 +727,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,6 +751,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java index 81ee833..b7bbeef 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRequestOrBuilder.java @@ -1,41 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface DeleteApiSpecRequestOrBuilder extends +public interface DeleteApiSpecRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the spec to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the spec to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java index d28dc74..35e70fc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApiSpecRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest} */ -public final class DeleteApiSpecRevisionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiSpecRevisionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) DeleteApiSpecRevisionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiSpecRevisionRequest.newBuilder() to construct. private DeleteApiSpecRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiSpecRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiSpecRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiSpecRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteApiSpecRevisionRequest( 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,29 +91,33 @@ private DeleteApiSpecRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec revision to be deleted,
    * with a revision ID explicitly included.
@@ -103,7 +125,10 @@ private DeleteApiSpecRevisionRequest(
    * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
    * 
* - * string name = 1 [(.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 @@ -112,14 +137,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. The name of the spec revision to be deleted,
    * with a revision ID explicitly included.
@@ -127,17 +153,18 @@ public java.lang.String getName() {
    * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
    * 
* - * string name = 1 [(.google.api.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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -182,15 +209,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,117 +237,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApiSpecRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.newBuilder() @@ -328,16 +365,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -347,13 +383,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance(); } @@ -368,7 +405,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -378,46 +416,50 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest other) { + if (other + == com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -441,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -453,6 +497,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
@@ -460,14 +506,16 @@ public Builder mergeFrom(
      * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * string name = 1 [(.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; @@ -476,6 +524,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
@@ -483,16 +533,17 @@ public java.lang.String getName() {
      * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * string name = 1 [(.google.api.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 { @@ -500,6 +551,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec revision to be deleted,
      * with a revision ID explicitly included.
@@ -507,21 +560,25 @@ public java.lang.String getName() {
      * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * 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 spec revision to be deleted,
      * with a revision ID explicitly included.
@@ -529,16 +586,21 @@ public Builder setName(
      * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * string 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 spec revision to be deleted,
      * with a revision ID explicitly included.
@@ -546,24 +608,26 @@ public Builder clearName() {
      * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
      * 
* - * 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); } @@ -573,30 +637,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiSpecRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiSpecRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiSpecRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiSpecRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -608,9 +674,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java new file mode 100644 index 0000000..8c2ffec --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiSpecRevisionRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteApiSpecRevisionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiSpecRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the spec revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the spec revision to be deleted,
+   * with a revision ID explicitly included.
+   * Example:
+   * `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java index 2b5da3b..8cfc696 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiVersionRequest} */ -public final class DeleteApiVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) DeleteApiVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteApiVersionRequest.newBuilder() to construct. private DeleteApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteApiVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteApiVersionRequest( 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,35 +96,42 @@ private DeleteApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the version to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.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 @@ -115,30 +140,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the version to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +176,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -163,6 +193,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -195,8 +225,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; @@ -206,17 +235,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) 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; } @@ -231,125 +259,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteApiVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.newBuilder() @@ -357,16 +394,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor; } @java.lang.Override @@ -399,7 +435,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -410,38 +447,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -449,7 +487,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,7 +515,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,19 +528,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the version to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string name = 1 [(.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; @@ -509,21 +553,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the version to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -531,70 +578,86 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the version to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * 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 version to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string 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 version to delete.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -602,39 +665,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources will also be deleted.
      * (Otherwise, the request will only work if there are no child resources.)
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest(); } @@ -658,16 +727,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -682,6 +751,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java index bcedc23..441dd77 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteApiVersionRequestOrBuilder.java @@ -1,41 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface DeleteApiVersionRequestOrBuilder extends +public interface DeleteApiVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteApiVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the version to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the version to delete.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * If set to true, any child resources will also be deleted.
    * (Otherwise, the request will only work if there are no child resources.)
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java index bc02928..020ba49 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteArtifactRequest} */ -public final class DeleteArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteArtifactRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) DeleteArtifactRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteArtifactRequest.newBuilder() to construct. private DeleteArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteArtifactRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteArtifactRequest( 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,35 +91,42 @@ private DeleteArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the artifact to delete.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the artifact to delete.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other = (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteArtifactRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) com.google.cloud.apigeeregistry.v1.DeleteArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest result = new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the artifact to delete.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact to delete.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact to delete.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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 artifact to delete.
      * Format: `{parent}/artifacts/*`
      * 
* - * string 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 artifact to delete.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java new file mode 100644 index 0000000..23f0a6d --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteArtifactRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteArtifactRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the artifact to delete.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the artifact to delete.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java index 4aa31a1..74d412b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for DeleteInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteInstanceRequest( 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,35 +91,42 @@ private DeleteInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the Instance to delete.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Instance to delete.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other = (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other = + (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for DeleteInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.DeleteInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) com.google.cloud.apigeeregistry.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest result = new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest result = + new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * 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 Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string 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 Instance to delete.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 0000000..5748c4f --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface DeleteInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Instance to delete.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Instance to delete.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java index d64764d..df6e68c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiDeploymentRequest} */ -public final class GetApiDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) GetApiDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetApiDeploymentRequest.newBuilder() to construct. private GetApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetApiDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetApiDeploymentRequest( 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,35 +91,42 @@ private GetApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the deployment to retrieve.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the deployment to retrieve.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other = + (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest result = + new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment to retrieve.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to retrieve.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to retrieve.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * 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 deployment to retrieve.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * string 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 deployment to retrieve.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java new file mode 100644 index 0000000..2205952 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiDeploymentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the deployment to retrieve.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the deployment to retrieve.
+   * Format: `projects/*/locations/*/apis/*/deployments/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java index 8cda9e1..8dc233b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiRequest} */ -public final class GetApiRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetApiRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiRequest) GetApiRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetApiRequest.newBuilder() to construct. private GetApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetApiRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetApiRequest( 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,35 +91,42 @@ private GetApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiRequest.class, com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the API to retrieve.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the API to retrieve.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiRequest other = (com.google.cloud.apigeeregistry.v1.GetApiRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiRequest other = + (com.google.cloud.apigeeregistry.v1.GetApiRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiRequest) com.google.cloud.apigeeregistry.v1.GetApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiRequest.class, com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.apigeeregistry.v1.GetApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiRequest result = new com.google.cloud.apigeeregistry.v1.GetApiRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiRequest result = + new com.google.cloud.apigeeregistry.v1.GetApiRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.apigeeregistry.v1.GetApiRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the API to retrieve.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the API to retrieve.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the API to retrieve.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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 API to retrieve.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string 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 API to retrieve.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java new file mode 100644 index 0000000..11b4b6a --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the API to retrieve.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the API to retrieve.
+   * Format: `projects/*/locations/*/apis/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java index 75c66b5..997a4f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetApiSpecContents.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest} */ -public final class GetApiSpecContentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetApiSpecContentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) GetApiSpecContentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetApiSpecContentsRequest.newBuilder() to construct. private GetApiSpecContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetApiSpecContentsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetApiSpecContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetApiSpecContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetApiSpecContentsRequest( 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,35 +91,42 @@ private GetApiSpecContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec whose contents should be retrieved.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the spec whose contents should be retrieved.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other = (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other = + (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetApiSpecContents.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest result = new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest result = + new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +491,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec whose contents should be retrieved.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +516,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec whose contents should be retrieved.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +541,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec whose contents should be retrieved.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * 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 spec whose contents should be retrieved.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string 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 spec whose contents should be retrieved.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * 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); } @@ -559,12 +621,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) - private static final com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest(); } @@ -573,16 +636,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiSpecContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiSpecContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiSpecContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiSpecContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java new file mode 100644 index 0000000..56a64a2 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecContentsRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiSpecContentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecContentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the spec whose contents should be retrieved.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the spec whose contents should be retrieved.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java index 9d2c34d..751c244 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecRequest} */ -public final class GetApiSpecRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiSpecRequest) GetApiSpecRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetApiSpecRequest.newBuilder() to construct. private GetApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetApiSpecRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetApiSpecRequest( 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,35 +91,42 @@ private GetApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec to retrieve.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the spec to retrieve.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other = + (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiSpecRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiSpecRequest) com.google.cloud.apigeeregistry.v1.GetApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiSpecRequest result = + new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiSpecRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * 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 spec to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * string 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 spec to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * 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); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiSpecRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiSpecRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiSpecRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java new file mode 100644 index 0000000..96b4235 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiSpecRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiSpecRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiSpecRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the spec to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the spec to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java index 792efd7..f27619b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiVersionRequest} */ -public final class GetApiVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetApiVersionRequest) GetApiVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetApiVersionRequest.newBuilder() to construct. private GetApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetApiVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetApiVersionRequest( 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,35 +91,42 @@ private GetApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the version to retrieve.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the version to retrieve.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other = + (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetApiVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetApiVersionRequest) com.google.cloud.apigeeregistry.v1.GetApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.GetApiVersionRequest result = + new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetApiVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the version to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the version to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the version to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * 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 version to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string 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 version to retrieve.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.GetApiVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetApiVersionRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.GetApiVersionRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java new file mode 100644 index 0000000..050f396 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetApiVersionRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetApiVersionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetApiVersionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the version to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the version to retrieve.
+   * Format: `projects/*/locations/*/apis/*/versions/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java index 87cadef..b7cc9b6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetArtifactContents.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactContentsRequest} */ -public final class GetArtifactContentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetArtifactContentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) GetArtifactContentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetArtifactContentsRequest.newBuilder() to construct. private GetArtifactContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetArtifactContentsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetArtifactContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetArtifactContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetArtifactContentsRequest( 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,35 +91,42 @@ private GetArtifactContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the artifact whose contents should be retrieved.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the artifact whose contents should be retrieved.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other = (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) obj; + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other = + (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetArtifactContents.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactContentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.class, + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance(); } @@ -364,7 +401,8 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest result = new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(this); + com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest result = + new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +412,39 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +452,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +478,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +492,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the artifact whose contents should be retrieved.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +517,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact whose contents should be retrieved.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +542,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact whose contents should be retrieved.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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 artifact whose contents should be retrieved.
      * Format: `{parent}/artifacts/*`
      * 
* - * string 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 artifact whose contents should be retrieved.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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); } @@ -559,12 +622,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) - private static final com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest(); } @@ -573,16 +637,16 @@ public static com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +661,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.GetArtifactContentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java new file mode 100644 index 0000000..15a2b06 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactContentsRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetArtifactContentsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactContentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the artifact whose contents should be retrieved.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the artifact whose contents should be retrieved.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java index 0c53399..6d24d83 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactRequest} */ -public final class GetArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetArtifactRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetArtifactRequest) GetArtifactRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetArtifactRequest.newBuilder() to construct. private GetArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetArtifactRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetArtifactRequest( 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,35 +91,42 @@ private GetArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the artifact to retrieve.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the artifact to retrieve.
    * Format: `{parent}/artifacts/*`
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetArtifactRequest other = (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.GetArtifactRequest other = + (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetArtifactRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetArtifactRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetArtifactRequest) com.google.cloud.apigeeregistry.v1.GetArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.GetArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetArtifactRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetArtifactRequest result = new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.GetArtifactRequest result = + new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.GetArtifactRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetArtifactRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetArtifactRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the artifact to retrieve.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact to retrieve.
      * Format: `{parent}/artifacts/*`
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the artifact to retrieve.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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 artifact to retrieve.
      * Format: `{parent}/artifacts/*`
      * 
* - * string 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 artifact to retrieve.
      * Format: `{parent}/artifacts/*`
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.GetArtifactRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetArtifactRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.GetArtifactRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java new file mode 100644 index 0000000..09d0225 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetArtifactRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/registry_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetArtifactRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetArtifactRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the artifact to retrieve.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the artifact to retrieve.
+   * Format: `{parent}/artifacts/*`
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java index 7c7373a..150c45c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for GetInstance.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetInstanceRequest} */ -public final class GetInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.GetInstanceRequest) GetInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInstanceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetInstanceRequest( 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,35 +91,42 @@ private GetInstanceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the Instance to retrieve.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * string name = 1 [(.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the Instance to retrieve.
    * Format: `projects/*/locations/*/instances/*`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.GetInstanceRequest other = (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) obj; + com.google.cloud.apigeeregistry.v1.GetInstanceRequest other = + (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.GetInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.GetInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetInstance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.GetInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.GetInstanceRequest) com.google.cloud.apigeeregistry.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.class, + com.google.cloud.apigeeregistry.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.GetInstanceRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.apigeeregistry.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.GetInstanceRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.GetInstanceRequest result = new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(this); + com.google.cloud.apigeeregistry.v1.GetInstanceRequest result = + new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.apigeeregistry.v1.GetInstanceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.GetInstanceRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.GetInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.GetInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string name = 1 [(.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; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * 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 Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * string 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 Instance to retrieve.
      * Format: `projects/*/locations/*/instances/*`.
      * 
* - * 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); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.GetInstanceRequest) private static final com.google.cloud.apigeeregistry.v1.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.GetInstanceRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.apigeeregistry.v1.GetInstanceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstanceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstanceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java new file mode 100644 index 0000000..44d8b16 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/GetInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public interface GetInstanceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the Instance to retrieve.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the Instance to retrieve.
+   * Format: `projects/*/locations/*/instances/*`.
+   * 
+ * + * + * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java index 0fa2dd6..7fa3e18 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/Instance.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * An Instance represents the instance resources of the Registry.
  * Currently, only one instance is allowed for each project.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance}
  */
-public final class Instance extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Instance extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Instance)
     InstanceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Instance() {
     name_ = "";
     state_ = 0;
@@ -28,16 +46,15 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Instance(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,70 +73,81 @@ private Instance(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.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:
+            {
+              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 26: {
-            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 26:
+            {
+              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 32: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            stateMessage_ = s;
-            break;
-          }
-          case 50: {
-            com.google.cloud.apigeeregistry.v1.Instance.Config.Builder subBuilder = null;
-            if (config_ != null) {
-              subBuilder = config_.toBuilder();
+              state_ = rawValue;
+              break;
             }
-            config_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Instance.Config.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(config_);
-              config_ = subBuilder.buildPartial();
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              stateMessage_ = s;
+              break;
             }
+          case 50:
+            {
+              com.google.cloud.apigeeregistry.v1.Instance.Config.Builder subBuilder = null;
+              if (config_ != null) {
+                subBuilder = config_.toBuilder();
+              }
+              config_ =
+                  input.readMessage(
+                      com.google.cloud.apigeeregistry.v1.Instance.Config.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(config_);
+                config_ = 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) {
@@ -127,36 +155,41 @@ private Instance(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
+        .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
+    return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
+        .internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.apigeeregistry.v1.Instance.class, com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
+            com.google.cloud.apigeeregistry.v1.Instance.class,
+            com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the Instance.
    * 
* * Protobuf enum {@code google.cloud.apigeeregistry.v1.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -165,6 +198,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The Instance has not been initialized or has been deleted.
      * 
@@ -173,6 +208,8 @@ public enum State */ INACTIVE(1), /** + * + * *
      * The Instance is being created.
      * 
@@ -181,6 +218,8 @@ public enum State */ CREATING(2), /** + * + * *
      * The Instance has been created and is ready for use.
      * 
@@ -189,6 +228,8 @@ public enum State */ ACTIVE(3), /** + * + * *
      * The Instance is being updated.
      * 
@@ -197,6 +238,8 @@ public enum State */ UPDATING(4), /** + * + * *
      * The Instance is being deleted.
      * 
@@ -205,6 +248,8 @@ public enum State */ DELETING(5), /** + * + * *
      * The Instance encountered an error during a state change.
      * 
@@ -216,6 +261,8 @@ public enum State ; /** + * + * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -224,6 +271,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The Instance has not been initialized or has been deleted.
      * 
@@ -232,6 +281,8 @@ public enum State */ public static final int INACTIVE_VALUE = 1; /** + * + * *
      * The Instance is being created.
      * 
@@ -240,6 +291,8 @@ public enum State */ public static final int CREATING_VALUE = 2; /** + * + * *
      * The Instance has been created and is ready for use.
      * 
@@ -248,6 +301,8 @@ public enum State */ public static final int ACTIVE_VALUE = 3; /** + * + * *
      * The Instance is being updated.
      * 
@@ -256,6 +311,8 @@ public enum State */ public static final int UPDATING_VALUE = 4; /** + * + * *
      * The Instance is being deleted.
      * 
@@ -264,6 +321,8 @@ public enum State */ public static final int DELETING_VALUE = 5; /** + * + * *
      * The Instance encountered an error during a state change.
      * 
@@ -272,7 +331,6 @@ public enum State */ public static final int FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -297,53 +355,57 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return INACTIVE; - case 2: return CREATING; - case 3: return ACTIVE; - case 4: return UPDATING; - case 5: return DELETING; - case 6: return FAILED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return INACTIVE; + case 2: + return CREATING; + case 3: + return ACTIVE; + case 4: + return UPDATING; + case 5: + return DELETING; + case 6: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.apigeeregistry.v1.Instance.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -360,31 +422,39 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.apigeeregistry.v1.Instance.State) } - public interface ConfigOrBuilder extends + public interface ConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Instance.Config) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -393,10 +463,13 @@ public interface ConfigOrBuilder extends
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cmekKeyName. */ java.lang.String getCmekKeyName(); /** + * + * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -405,27 +478,30 @@ public interface ConfigOrBuilder extends
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cmekKeyName. */ - com.google.protobuf.ByteString - getCmekKeyNameBytes(); + com.google.protobuf.ByteString getCmekKeyNameBytes(); } /** + * + * *
    * Available configurations to provision an Instance.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance.Config} */ - public static final class Config extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Config extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.Instance.Config) ConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Config.newBuilder() to construct. private Config(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Config() { location_ = ""; cmekKeyName_ = ""; @@ -433,16 +509,15 @@ private Config() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Config(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Config( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -461,25 +536,27 @@ private Config( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - location_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + location_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - cmekKeyName_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + cmekKeyName_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -487,34 +564,39 @@ private Config( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Instance.Config.class, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); + com.google.cloud.apigeeregistry.v1.Instance.Config.class, + com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object location_; /** + * + * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The location. */ @java.lang.Override @@ -523,29 +605,29 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
      * Output only. The GCP location where the Instance resides.
      * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -556,6 +638,8 @@ public java.lang.String getLocation() { public static final int CMEK_KEY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object cmekKeyName_; /** + * + * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -564,6 +648,7 @@ public java.lang.String getLocation() {
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cmekKeyName. */ @java.lang.Override @@ -572,14 +657,15 @@ public java.lang.String getCmekKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cmekKeyName_ = s; return s; } } /** + * + * *
      * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
      * The CMEK name should follow the format of
@@ -588,16 +674,15 @@ public java.lang.String getCmekKeyName() {
      * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cmekKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCmekKeyNameBytes() { + public com.google.protobuf.ByteString getCmekKeyNameBytes() { java.lang.Object ref = cmekKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cmekKeyName_ = b; return b; } else { @@ -606,6 +691,7 @@ public java.lang.String getCmekKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,8 +703,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_); } @@ -648,17 +733,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Instance.Config)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Instance.Config other = (com.google.cloud.apigeeregistry.v1.Instance.Config) obj; + com.google.cloud.apigeeregistry.v1.Instance.Config other = + (com.google.cloud.apigeeregistry.v1.Instance.Config) obj; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getCmekKeyName() - .equals(other.getCmekKeyName())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getCmekKeyName().equals(other.getCmekKeyName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -680,87 +764,93 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance.Config parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Instance.Config prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -770,27 +860,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Available configurations to provision an Instance.
      * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance.Config} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Instance.Config) com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.Instance.Config.class, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); + com.google.cloud.apigeeregistry.v1.Instance.Config.class, + com.google.cloud.apigeeregistry.v1.Instance.Config.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder() @@ -798,16 +893,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -819,9 +913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; } @java.lang.Override @@ -840,7 +934,8 @@ public com.google.cloud.apigeeregistry.v1.Instance.Config build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.Config buildPartial() { - com.google.cloud.apigeeregistry.v1.Instance.Config result = new com.google.cloud.apigeeregistry.v1.Instance.Config(this); + com.google.cloud.apigeeregistry.v1.Instance.Config result = + new com.google.cloud.apigeeregistry.v1.Instance.Config(this); result.location_ = location_; result.cmekKeyName_ = cmekKeyName_; onBuilt(); @@ -851,38 +946,41 @@ public com.google.cloud.apigeeregistry.v1.Instance.Config buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.Instance.Config) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance.Config)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance.Config) other); } else { super.mergeFrom(other); return this; @@ -890,7 +988,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.Instance.Config other) { - if (other == com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance()) + return this; if (!other.getLocation().isEmpty()) { location_ = other.location_; onChanged(); @@ -918,7 +1017,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.Instance.Config) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.Instance.Config) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -930,18 +1030,20 @@ public Builder mergeFrom( private java.lang.Object location_ = ""; /** + * + * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -950,20 +1052,21 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -971,54 +1074,61 @@ public java.lang.String getLocation() { } } /** + * + * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
        * Output only. The GCP location where the Instance resides.
        * 
* * string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -1026,6 +1136,8 @@ public Builder setLocationBytes( private java.lang.Object cmekKeyName_ = ""; /** + * + * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1034,13 +1146,13 @@ public Builder setLocationBytes(
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cmekKeyName. */ public java.lang.String getCmekKeyName() { java.lang.Object ref = cmekKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cmekKeyName_ = s; return s; @@ -1049,6 +1161,8 @@ public java.lang.String getCmekKeyName() { } } /** + * + * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1057,15 +1171,14 @@ public java.lang.String getCmekKeyName() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cmekKeyName. */ - public com.google.protobuf.ByteString - getCmekKeyNameBytes() { + public com.google.protobuf.ByteString getCmekKeyNameBytes() { java.lang.Object ref = cmekKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cmekKeyName_ = b; return b; } else { @@ -1073,6 +1186,8 @@ public java.lang.String getCmekKeyName() { } } /** + * + * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1081,20 +1196,22 @@ public java.lang.String getCmekKeyName() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cmekKeyName to set. * @return This builder for chaining. */ - public Builder setCmekKeyName( - java.lang.String value) { + public Builder setCmekKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cmekKeyName_ = value; onChanged(); return this; } /** + * + * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1103,15 +1220,18 @@ public Builder setCmekKeyName(
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCmekKeyName() { - + cmekKeyName_ = getDefaultInstance().getCmekKeyName(); onChanged(); return this; } /** + * + * *
        * Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
        * The CMEK name should follow the format of
@@ -1120,20 +1240,21 @@ public Builder clearCmekKeyName() {
        * 
* * string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cmekKeyName to set. * @return This builder for chaining. */ - public Builder setCmekKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setCmekKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cmekKeyName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1146,12 +1267,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Instance.Config) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Instance.Config) private static final com.google.cloud.apigeeregistry.v1.Instance.Config DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Instance.Config(); } @@ -1160,16 +1281,16 @@ public static com.google.cloud.apigeeregistry.v1.Instance.Config getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Config parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Config(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Config parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Config(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1184,18 +1305,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Instance.Config getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Format: `projects/*/locations/*/instance`.
    * Currently only `locations/global` is supported.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1204,30 +1327,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; } } /** + * + * *
    * Format: `projects/*/locations/*/instance`.
    * Currently only `locations/global` is supported.
    * 
* * 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 { @@ -1238,11 +1361,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1250,11 +1377,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1262,11 +1393,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1276,11 +1410,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1288,11 +1426,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1300,11 +1442,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1314,38 +1459,54 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. The current state of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.State getState() { + @java.lang.Override + public com.google.cloud.apigeeregistry.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.apigeeregistry.v1.Instance.State result = com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); + com.google.cloud.apigeeregistry.v1.Instance.State result = + com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); return result == null ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED : result; } public static final int STATE_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object stateMessage_; /** + * + * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ @java.lang.Override @@ -1354,29 +1515,29 @@ public java.lang.String getStateMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; } } /** + * + * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -1387,11 +1548,16 @@ public java.lang.String getStateMessage() { public static final int CONFIG_FIELD_NUMBER = 6; private com.google.cloud.apigeeregistry.v1.Instance.Config config_; /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ @java.lang.Override @@ -1399,23 +1565,34 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.Config getConfig() { - return config_ == null ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() + : config_; } /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder() { @@ -1423,6 +1600,7 @@ public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1434,8 +1612,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1467,23 +1644,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); } if (state_ != com.google.cloud.apigeeregistry.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stateMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, stateMessage_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1493,32 +1666,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.Instance)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.Instance other = (com.google.cloud.apigeeregistry.v1.Instance) obj; + com.google.cloud.apigeeregistry.v1.Instance other = + (com.google.cloud.apigeeregistry.v1.Instance) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (state_ != other.state_) return false; - if (!getStateMessage() - .equals(other.getStateMessage())) return false; + if (!getStateMessage().equals(other.getStateMessage())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1554,97 +1723,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An Instance represents the instance resources of the Registry.
    * Currently, only one instance is allowed for each project.
@@ -1652,21 +1828,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.apigeeregistry.v1.Instance}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.Instance)
       com.google.cloud.apigeeregistry.v1.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
+          .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
+          .internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.apigeeregistry.v1.Instance.class, com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
+              com.google.cloud.apigeeregistry.v1.Instance.class,
+              com.google.cloud.apigeeregistry.v1.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.apigeeregistry.v1.Instance.newBuilder()
@@ -1674,16 +1852,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1715,9 +1892,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto
+          .internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -1736,7 +1913,8 @@ public com.google.cloud.apigeeregistry.v1.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.apigeeregistry.v1.Instance buildPartial() {
-      com.google.cloud.apigeeregistry.v1.Instance result = new com.google.cloud.apigeeregistry.v1.Instance(this);
+      com.google.cloud.apigeeregistry.v1.Instance result =
+          new com.google.cloud.apigeeregistry.v1.Instance(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -1763,38 +1941,39 @@ public com.google.cloud.apigeeregistry.v1.Instance buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.apigeeregistry.v1.Instance) {
-        return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance)other);
+        return mergeFrom((com.google.cloud.apigeeregistry.v1.Instance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1854,19 +2033,21 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Format: `projects/*/locations/*/instance`.
      * Currently only `locations/global` is supported.
      * 
* * 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; @@ -1875,21 +2056,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Format: `projects/*/locations/*/instance`.
      * Currently only `locations/global` is supported.
      * 
* * 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 { @@ -1897,57 +2079,64 @@ public java.lang.String getName() { } } /** + * + * *
      * Format: `projects/*/locations/*/instance`.
      * Currently only `locations/global` is supported.
      * 
* * 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; } /** + * + * *
      * Format: `projects/*/locations/*/instance`.
      * Currently only `locations/global` is supported.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Format: `projects/*/locations/*/instance`.
      * Currently only `locations/global` is supported.
      * 
* * 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; @@ -1955,39 +2144,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2003,14 +2211,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2021,17 +2232,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2043,11 +2258,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2061,48 +2280,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. Creation timestamp.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; @@ -2110,39 +2345,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2158,14 +2412,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2176,17 +2433,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2198,11 +2459,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2216,48 +2481,64 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Last update timestamp.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -2265,51 +2546,75 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. The current state of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.apigeeregistry.v1.Instance.State result = com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); - return result == null ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED : result; + com.google.cloud.apigeeregistry.v1.Instance.State result = + com.google.cloud.apigeeregistry.v1.Instance.State.valueOf(state_); + return result == null + ? com.google.cloud.apigeeregistry.v1.Instance.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The current state of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2317,21 +2622,26 @@ public Builder setState(com.google.cloud.apigeeregistry.v1.Instance.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2339,18 +2649,20 @@ public Builder clearState() { private java.lang.Object stateMessage_ = ""; /** + * + * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ public java.lang.String getStateMessage() { java.lang.Object ref = stateMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stateMessage_ = s; return s; @@ -2359,20 +2671,21 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - public com.google.protobuf.ByteString - getStateMessageBytes() { + public com.google.protobuf.ByteString getStateMessageBytes() { java.lang.Object ref = stateMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stateMessage_ = b; return b; } else { @@ -2380,54 +2693,61 @@ public java.lang.String getStateMessage() { } } /** + * + * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessage( - java.lang.String value) { + public Builder setStateMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stateMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStateMessage() { - + stateMessage_ = getDefaultInstance().getStateMessage(); onChanged(); return this; } /** + * + * *
      * Output only. Extra information of Instance.State if the state is `FAILED`.
      * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stateMessage to set. * @return This builder for chaining. */ - public Builder setStateMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStateMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateMessage_ = value; onChanged(); return this; @@ -2435,39 +2755,58 @@ public Builder setStateMessageBytes( private com.google.cloud.apigeeregistry.v1.Instance.Config config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> configBuilder_; + com.google.cloud.apigeeregistry.v1.Instance.Config, + com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, + com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> + configBuilder_; /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ public com.google.cloud.apigeeregistry.v1.Instance.Config getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig(com.google.cloud.apigeeregistry.v1.Instance.Config value) { if (configBuilder_ == null) { @@ -2483,11 +2822,15 @@ public Builder setConfig(com.google.cloud.apigeeregistry.v1.Instance.Config valu return this; } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConfig( com.google.cloud.apigeeregistry.v1.Instance.Config.Builder builderForValue) { @@ -2501,17 +2844,23 @@ public Builder setConfig( return this; } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeConfig(com.google.cloud.apigeeregistry.v1.Instance.Config value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Instance.Config.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -2523,11 +2872,15 @@ public Builder mergeConfig(com.google.cloud.apigeeregistry.v1.Instance.Config va return this; } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConfig() { if (configBuilder_ == null) { @@ -2541,55 +2894,71 @@ public Builder clearConfig() { return this; } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Instance.Config.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() : config_; + return config_ == null + ? com.google.cloud.apigeeregistry.v1.Instance.Config.getDefaultInstance() + : config_; } } /** + * + * *
      * Required. Config of the Instance.
      * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> + com.google.cloud.apigeeregistry.v1.Instance.Config, + com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, + com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Instance.Config, com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Instance.Config, + com.google.cloud.apigeeregistry.v1.Instance.Config.Builder, + com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2599,12 +2968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.Instance) private static final com.google.cloud.apigeeregistry.v1.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.Instance(); } @@ -2613,16 +2982,16 @@ public static com.google.cloud.apigeeregistry.v1.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Instance(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Instance(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2637,6 +3006,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java index 5f0c384..28e93af 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/InstanceOrBuilder.java @@ -1,151 +1,223 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Format: `projects/*/locations/*/instance`.
    * Currently only `locations/global` is supported.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Format: `projects/*/locations/*/instance`.
    * Currently only `locations/global` is supported.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. Creation timestamp.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Last update timestamp.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. The current state of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.apigeeregistry.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.apigeeregistry.v1.Instance.State getState(); /** + * + * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stateMessage. */ java.lang.String getStateMessage(); /** + * + * *
    * Output only. Extra information of Instance.State if the state is `FAILED`.
    * 
* * string state_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stateMessage. */ - com.google.protobuf.ByteString - getStateMessageBytes(); + com.google.protobuf.ByteString getStateMessageBytes(); /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The config. */ com.google.cloud.apigeeregistry.v1.Instance.Config getConfig(); /** + * + * *
    * Required. Config of the Instance.
    * 
* - * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Instance.Config config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.Instance.ConfigOrBuilder getConfigOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java index 7b64b1e..b80c7aa 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApiDeploymentRevisions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest} */ -public final class ListApiDeploymentRevisionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiDeploymentRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) ListApiDeploymentRevisionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiDeploymentRevisionsRequest.newBuilder() to construct. - private ListApiDeploymentRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListApiDeploymentRevisionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiDeploymentRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListApiDeploymentRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiDeploymentRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiDeploymentRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +72,32 @@ private ListApiDeploymentRevisionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +105,41 @@ private ListApiDeploymentRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +148,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 deployment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,11 +183,14 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,12 +201,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,30 +218,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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 { @@ -215,6 +250,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -250,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -264,19 +298,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,134 +332,145 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApiDeploymentRevisions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.Builder.class); } - // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.newBuilder() + // Construct using + // com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,14 +484,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + .getDefaultInstance(); } @java.lang.Override @@ -462,7 +507,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest buil @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest result = + new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -474,46 +520,51 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest 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.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest)other); + return mergeFrom( + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest other) { + if (other + == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -544,7 +595,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,18 +609,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * string name = 1 [(.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; @@ -576,20 +633,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * string name = 1 [(.google.api.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 { @@ -597,66 +657,82 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to list revisions for.
      * 
* - * 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 deployment to list revisions for.
      * 
* - * string 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 deployment to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of revisions to return per page.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,30 +740,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of revisions to return per page.
      * 
* * 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 revisions to return per page.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -695,19 +777,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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; @@ -716,21 +800,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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,64 +823,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The page token, received from a previous ListApiDeploymentRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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); } @@ -805,30 +897,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest(); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,9 +934,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java index a264d1f..1f000e4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsRequestOrBuilder.java @@ -1,61 +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/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentRevisionsRequestOrBuilder extends +public interface ListApiDeploymentRevisionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the deployment to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The page token, received from a previous ListApiDeploymentRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java index 70ca202..6d9af05 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApiDeploymentRevisionsResponse.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse} */ -public final class ListApiDeploymentRevisionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiDeploymentRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) ListApiDeploymentRevisionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiDeploymentRevisionsResponse.newBuilder() to construct. - private ListApiDeploymentRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListApiDeploymentRevisionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiDeploymentRevisionsResponse() { apiDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private ListApiDeploymentRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiDeploymentRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiDeploymentRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,33 @@ private ListApiDeploymentRevisionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiDeployments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apiDeployments_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), + extensionRegistry)); + break; } - apiDeployments_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.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 ListApiDeploymentRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiDeployments_ = java.util.Collections.unmodifiableList(apiDeployments_); @@ -94,22 +116,27 @@ private ListApiDeploymentRevisionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); } public static final int API_DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List apiDeployments_; /** + * + * *
    * The revisions of the deployment.
    * 
@@ -121,6 +148,8 @@ public java.util.List getApiDe return apiDeployments_; } /** + * + * *
    * The revisions of the deployment.
    * 
@@ -128,11 +157,13 @@ public java.util.List getApiDe * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiDeploymentsOrBuilderList() { return apiDeployments_; } /** + * + * *
    * The revisions of the deployment.
    * 
@@ -144,6 +175,8 @@ public int getApiDeploymentsCount() { return apiDeployments_.size(); } /** + * + * *
    * The revisions of the deployment.
    * 
@@ -155,6 +188,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in return apiDeployments_.get(index); } /** + * + * *
    * The revisions of the deployment.
    * 
@@ -170,12 +205,15 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +222,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +254,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < apiDeployments_.size(); i++) { output.writeMessage(1, apiDeployments_.get(i)); } @@ -245,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apiDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiDeployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +296,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) obj; - if (!getApiDeploymentsList() - .equals(other.getApiDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApiDeploymentsList().equals(other.getApiDeploymentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +329,147 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApiDeploymentRevisionsResponse.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.Builder.class); } - // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.newBuilder() + // Construct using + // com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getApiDeploymentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +485,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +508,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse bui @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse result = + new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(this); int from_bitField0_ = bitField0_; if (apiDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +529,51 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse 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.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse)other); + return mergeFrom( + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse other) { + if (other + == com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + .getDefaultInstance()) return this; if (apiDeploymentsBuilder_ == null) { if (!other.apiDeployments_.isEmpty()) { if (apiDeployments_.isEmpty()) { @@ -536,9 +592,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentRev apiDeploymentsBuilder_ = null; apiDeployments_ = other.apiDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - apiDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApiDeploymentsFieldBuilder() : null; + apiDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApiDeploymentsFieldBuilder() + : null; } else { apiDeploymentsBuilder_.addAllMessages(other.apiDeployments_); } @@ -567,7 +624,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +635,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List apiDeployments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApiDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = new java.util.ArrayList(apiDeployments_); + apiDeployments_ = + new java.util.ArrayList( + apiDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + apiDeploymentsBuilder_; /** + * + * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List getApiDeploymentsList() { + public java.util.List + getApiDeploymentsList() { if (apiDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(apiDeployments_); } else { @@ -605,6 +674,8 @@ public java.util.List getApiDe } } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -619,6 +690,8 @@ public int getApiDeploymentsCount() { } } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -633,6 +706,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in } } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -654,6 +729,8 @@ public Builder setApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -672,6 +749,8 @@ public Builder setApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -692,6 +771,8 @@ public Builder addApiDeployments(com.google.cloud.apigeeregistry.v1.ApiDeploymen return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -713,6 +794,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -731,6 +814,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -749,6 +834,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -759,8 +846,7 @@ public Builder addAllApiDeployments( java.lang.Iterable values) { if (apiDeploymentsBuilder_ == null) { ensureApiDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apiDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiDeployments_); onChanged(); } else { apiDeploymentsBuilder_.addAllMessages(values); @@ -768,6 +854,8 @@ public Builder addAllApiDeployments( return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -785,6 +873,8 @@ public Builder clearApiDeployments() { return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -802,6 +892,8 @@ public Builder removeApiDeployments(int index) { return this; } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -813,6 +905,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment return getApiDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -822,19 +916,22 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( int index) { if (apiDeploymentsBuilder_ == null) { - return apiDeployments_.get(index); } else { + return apiDeployments_.get(index); + } else { return apiDeploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsOrBuilderList() { + public java.util.List + getApiDeploymentsOrBuilderList() { if (apiDeploymentsBuilder_ != null) { return apiDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +939,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen } } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -849,10 +948,12 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder() { - return getApiDeploymentsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** + * + * *
      * The revisions of the deployment.
      * 
@@ -861,26 +962,34 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder( int index) { - return getApiDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** + * + * *
      * The revisions of the deployment.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsBuilderList() { + public java.util.List + getApiDeploymentsBuilderList() { return getApiDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentsFieldBuilder() { if (apiDeploymentsBuilder_ == null) { - apiDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + apiDeploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( apiDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1001,21 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1024,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1047,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1121,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse(); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1158,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java index 7c43762..fdef27c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentRevisionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentRevisionsResponseOrBuilder extends +public interface ListApiDeploymentRevisionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List - getApiDeploymentsList(); + java.util.List getApiDeploymentsList(); /** + * + * *
    * The revisions of the deployment.
    * 
@@ -25,6 +44,8 @@ public interface ListApiDeploymentRevisionsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int index); /** + * + * *
    * The revisions of the deployment.
    * 
@@ -33,43 +54,51 @@ public interface ListApiDeploymentRevisionsResponseOrBuilder extends */ int getApiDeploymentsCount(); /** + * + * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List + java.util.List getApiDeploymentsOrBuilderList(); /** + * + * *
    * The revisions of the deployment.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java index 90e15f3..4f00093 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApiDeployments.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest} */ -public final class ListApiDeploymentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiDeploymentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) ListApiDeploymentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiDeploymentsRequest.newBuilder() to construct. private ListApiDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListApiDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListApiDeploymentsRequest( 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,42 @@ private ListApiDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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 { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of deployments to return.
    * The service may return fewer than this value.
@@ -171,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -189,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -213,16 +249,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -233,12 +268,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +285,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -279,6 +317,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +355,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_); @@ -334,21 +371,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +408,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApiDeployments.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.newBuilder() @@ -492,16 +536,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,13 +560,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance(); } @@ -538,7 +582,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest result = + new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -551,38 +596,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) other); } else { super.mergeFrom(other); return this; @@ -590,7 +636,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -625,7 +673,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,19 +686,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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; @@ -658,21 +711,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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 { @@ -680,64 +736,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of deployments.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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 deployments to return.
      * The service may return fewer than this value.
@@ -746,6 +817,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +825,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of deployments to return.
      * The service may return fewer than this value.
@@ -761,16 +835,19 @@ public int getPageSize() {
      * 
* * 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 deployments to return.
      * The service may return fewer than this value.
@@ -779,10 +856,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -790,6 +868,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +878,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -813,6 +893,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -821,15 +903,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -837,6 +918,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -845,20 +928,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -867,15 +952,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListApiDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -884,16 +972,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -901,19 +989,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -922,21 +1012,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -944,64 +1035,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1109,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest(); } @@ -1025,16 +1124,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1148,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java index 21f5d58..5ca7f8e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentsRequestOrBuilder extends +public interface ListApiDeploymentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of deployments.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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 deployments to return.
    * The service may return fewer than this value.
@@ -38,11 +65,14 @@ public interface ListApiDeploymentsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListApiDeploymentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListApiDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -63,30 +96,35 @@ public interface ListApiDeploymentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java index 5179502..d99fb6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApiDeployments.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse} */ -public final class ListApiDeploymentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiDeploymentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) ListApiDeploymentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiDeploymentsResponse.newBuilder() to construct. private ListApiDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiDeploymentsResponse() { apiDeployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListApiDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListApiDeploymentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiDeployments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apiDeployments_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), + extensionRegistry)); + break; } - apiDeployments_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.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 ListApiDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiDeployments_ = java.util.Collections.unmodifiableList(apiDeployments_); @@ -94,22 +115,27 @@ private ListApiDeploymentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); } public static final int API_DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List apiDeployments_; /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -121,6 +147,8 @@ public java.util.List getApiDe return apiDeployments_; } /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -128,11 +156,13 @@ public java.util.List getApiDe * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiDeploymentsOrBuilderList() { return apiDeployments_; } /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -144,6 +174,8 @@ public int getApiDeploymentsCount() { return apiDeployments_.size(); } /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -155,6 +187,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in return apiDeployments_.get(index); } /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -170,12 +204,15 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < apiDeployments_.size(); i++) { output.writeMessage(1, apiDeployments_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiDeployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apiDeployments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiDeployments_.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.cloud.apigeeregistry.v1.ListApiDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) obj; - if (!getApiDeploymentsList() - .equals(other.getApiDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApiDeploymentsList().equals(other.getApiDeploymentsList())) 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.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApiDeployments.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.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) { getApiDeploymentsFieldBuilder(); } } + @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.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse result = + new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (apiDeploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +525,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +565,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse.getDefaultInstance()) + return this; if (apiDeploymentsBuilder_ == null) { if (!other.apiDeployments_.isEmpty()) { if (apiDeployments_.isEmpty()) { @@ -536,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiDeploymentsRe apiDeploymentsBuilder_ = null; apiDeployments_ = other.apiDeployments_; bitField0_ = (bitField0_ & ~0x00000001); - apiDeploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApiDeploymentsFieldBuilder() : null; + apiDeploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApiDeploymentsFieldBuilder() + : null; } else { apiDeploymentsBuilder_.addAllMessages(other.apiDeployments_); } @@ -567,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +629,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List apiDeployments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApiDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiDeployments_ = new java.util.ArrayList(apiDeployments_); + apiDeployments_ = + new java.util.ArrayList( + apiDeployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + apiDeploymentsBuilder_; /** + * + * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List getApiDeploymentsList() { + public java.util.List + getApiDeploymentsList() { if (apiDeploymentsBuilder_ == null) { return java.util.Collections.unmodifiableList(apiDeployments_); } else { @@ -605,6 +668,8 @@ public java.util.List getApiDe } } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -619,6 +684,8 @@ public int getApiDeploymentsCount() { } } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -633,6 +700,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int in } } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -654,6 +723,8 @@ public Builder setApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -672,6 +743,8 @@ public Builder setApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -692,6 +765,8 @@ public Builder addApiDeployments(com.google.cloud.apigeeregistry.v1.ApiDeploymen return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -713,6 +788,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -731,6 +808,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -749,6 +828,8 @@ public Builder addApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -759,8 +840,7 @@ public Builder addAllApiDeployments( java.lang.Iterable values) { if (apiDeploymentsBuilder_ == null) { ensureApiDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apiDeployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiDeployments_); onChanged(); } else { apiDeploymentsBuilder_.addAllMessages(values); @@ -768,6 +848,8 @@ public Builder addAllApiDeployments( return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -785,6 +867,8 @@ public Builder clearApiDeployments() { return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -802,6 +886,8 @@ public Builder removeApiDeployments(int index) { return this; } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -813,6 +899,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment return getApiDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -822,19 +910,22 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeployment public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( int index) { if (apiDeploymentsBuilder_ == null) { - return apiDeployments_.get(index); } else { + return apiDeployments_.get(index); + } else { return apiDeploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsOrBuilderList() { + public java.util.List + getApiDeploymentsOrBuilderList() { if (apiDeploymentsBuilder_ != null) { return apiDeploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +933,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen } } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -849,10 +942,12 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder() { - return getApiDeploymentsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** + * + * *
      * The deployments from the specified publisher.
      * 
@@ -861,26 +956,34 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeploymentsBuilder( int index) { - return getApiDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); + return getApiDeploymentsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance()); } /** + * + * *
      * The deployments from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - public java.util.List - getApiDeploymentsBuilderList() { + public java.util.List + getApiDeploymentsBuilderList() { return getApiDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentsFieldBuilder() { if (apiDeploymentsBuilder_ == null) { - apiDeploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + apiDeploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( apiDeployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +995,21 @@ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder addApiDeployment private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1115,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse(); } @@ -1016,16 +1130,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1154,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java index cdd1a74..e5085fd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiDeploymentsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiDeploymentsResponseOrBuilder extends +public interface ListApiDeploymentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List - getApiDeploymentsList(); + java.util.List getApiDeploymentsList(); /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -25,6 +44,8 @@ public interface ListApiDeploymentsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployments(int index); /** + * + * *
    * The deployments from the specified publisher.
    * 
@@ -33,43 +54,51 @@ public interface ListApiDeploymentsResponseOrBuilder extends */ int getApiDeploymentsCount(); /** + * + * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - java.util.List + java.util.List getApiDeploymentsOrBuilderList(); /** + * + * *
    * The deployments from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1; */ - com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java index d33bacc..e9a0ea0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApiSpecRevisions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest} */ -public final class ListApiSpecRevisionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiSpecRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) ListApiSpecRevisionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiSpecRevisionsRequest.newBuilder() to construct. private ListApiSpecRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiSpecRevisionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListApiSpecRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiSpecRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiSpecRevisionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListApiSpecRevisionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - 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 ListApiSpecRevisionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +147,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 spec to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,11 +182,14 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,12 +200,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,30 +217,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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 { @@ -215,6 +249,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -226,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(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,8 +284,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -264,19 +297,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other = + (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,117 +331,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApiSpecRevisions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.newBuilder() @@ -418,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -441,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance(); } @@ -462,7 +503,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest result = + new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -474,38 +516,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) other); } else { super.mergeFrom(other); return this; @@ -513,7 +556,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -544,7 +589,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -556,18 +603,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec to list revisions for.
      * 
* - * string name = 1 [(.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; @@ -576,20 +627,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to list revisions for.
      * 
* - * string name = 1 [(.google.api.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 { @@ -597,66 +651,82 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to list revisions for.
      * 
* - * 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 spec to list revisions for.
      * 
* - * string 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 spec to list revisions for.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of revisions to return per page.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,30 +734,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of revisions to return per page.
      * 
* * 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 revisions to return per page.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -695,19 +771,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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; @@ -716,21 +794,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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,64 +817,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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 page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The page token, received from a previous ListApiSpecRevisions call.
      * Provide this to retrieve the subsequent page.
      * 
* * 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); } @@ -805,30 +891,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) - private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest(); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecRevisionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecRevisionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,9 +928,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java index dcb85ef..203559c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsRequestOrBuilder.java @@ -1,61 +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/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecRevisionsRequestOrBuilder extends +public interface ListApiSpecRevisionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the spec to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the spec to list revisions for.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The maximum number of revisions to return per page.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The page token, received from a previous ListApiSpecRevisions call.
    * Provide this to retrieve the subsequent page.
    * 
* * 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-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java index d62dc44..57b494f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApiSpecRevisionsResponse.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse} */ -public final class ListApiSpecRevisionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiSpecRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) ListApiSpecRevisionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiSpecRevisionsResponse.newBuilder() to construct. private ListApiSpecRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiSpecRevisionsResponse() { apiSpecs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListApiSpecRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiSpecRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiSpecRevisionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListApiSpecRevisionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiSpecs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiSpecs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apiSpecs_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry)); + break; } - apiSpecs_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.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 ListApiSpecRevisionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiSpecs_ = java.util.Collections.unmodifiableList(apiSpecs_); @@ -94,22 +113,27 @@ private ListApiSpecRevisionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); } public static final int API_SPECS_FIELD_NUMBER = 1; private java.util.List apiSpecs_; /** + * + * *
    * The revisions of the spec.
    * 
@@ -121,6 +145,8 @@ public java.util.List getApiSpecsLis return apiSpecs_; } /** + * + * *
    * The revisions of the spec.
    * 
@@ -128,11 +154,13 @@ public java.util.List getApiSpecsLis * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiSpecsOrBuilderList() { return apiSpecs_; } /** + * + * *
    * The revisions of the spec.
    * 
@@ -144,6 +172,8 @@ public int getApiSpecsCount() { return apiSpecs_.size(); } /** + * + * *
    * The revisions of the spec.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { return apiSpecs_.get(index); } /** + * + * *
    * The revisions of the spec.
    * 
@@ -162,20 +194,22 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { return apiSpecs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < apiSpecs_.size(); i++) { output.writeMessage(1, apiSpecs_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apiSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiSpecs_.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.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other = + (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) obj; - if (!getApiSpecsList() - .equals(other.getApiSpecsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApiSpecsList().equals(other.getApiSpecsList())) 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.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApiSpecRevisionsResponse.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.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) { getApiSpecsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance(); } @@ -458,7 +501,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse result = + new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(this); int from_bitField0_ = bitField0_; if (apiSpecsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +522,50 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse other) { + if (other + == com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse.getDefaultInstance()) + return this; if (apiSpecsBuilder_ == null) { if (!other.apiSpecs_.isEmpty()) { if (apiSpecs_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecRevisions apiSpecsBuilder_ = null; apiSpecs_ = other.apiSpecs_; bitField0_ = (bitField0_ & ~0x00000001); - apiSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApiSpecsFieldBuilder() : null; + apiSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApiSpecsFieldBuilder() + : null; } else { apiSpecsBuilder_.addAllMessages(other.apiSpecs_); } @@ -567,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) + 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 apiSpecs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApiSpecsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apiSpecs_ = new java.util.ArrayList(apiSpecs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + apiSpecsBuilder_; /** + * + * *
      * The revisions of the spec.
      * 
@@ -605,6 +663,8 @@ public java.util.List getApiSpecsLis } } /** + * + * *
      * The revisions of the spec.
      * 
@@ -619,6 +679,8 @@ public int getApiSpecsCount() { } } /** + * + * *
      * The revisions of the spec.
      * 
@@ -633,14 +695,15 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { } } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder setApiSpecs( - int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -672,6 +737,8 @@ public Builder setApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -692,14 +759,15 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs( - int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +781,15 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs( - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); apiSpecs_.add(builderForValue.build()); @@ -731,6 +800,8 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -749,6 +820,8 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -759,8 +832,7 @@ public Builder addAllApiSpecs( java.lang.Iterable values) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apiSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiSpecs_); onChanged(); } else { apiSpecsBuilder_.addAllMessages(values); @@ -768,6 +840,8 @@ public Builder addAllApiSpecs( return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -785,6 +859,8 @@ public Builder clearApiSpecs() { return this; } /** + * + * *
      * The revisions of the spec.
      * 
@@ -802,39 +878,44 @@ public Builder removeApiSpecs(int index) { return this; } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder(int index) { return getApiSpecsFieldBuilder().getBuilder(index); } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { if (apiSpecsBuilder_ == null) { - return apiSpecs_.get(index); } else { + return apiSpecs_.get(index); + } else { return apiSpecsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsOrBuilderList() { + public java.util.List + getApiSpecsOrBuilderList() { if (apiSpecsBuilder_ != null) { return apiSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +923,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( } } /** + * + * *
      * The revisions of the spec.
      * 
@@ -849,42 +932,48 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder() { - return getApiSpecsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + return getApiSpecsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( - int index) { - return getApiSpecsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int index) { + return getApiSpecsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** + * + * *
      * The revisions of the spec.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsBuilderList() { + public java.util.List + getApiSpecsBuilderList() { return getApiSpecsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecsFieldBuilder() { if (apiSpecsBuilder_ == null) { - apiSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - apiSpecs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + apiSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + apiSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); apiSpecs_ = null; } return apiSpecsBuilder_; @@ -892,19 +981,21 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1004,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1027,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token that can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1101,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) - private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse(); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecRevisionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecRevisionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1138,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java index d614627..aa8d811 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecRevisionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecRevisionsResponseOrBuilder extends +public interface ListApiSpecRevisionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List - getApiSpecsList(); + java.util.List getApiSpecsList(); /** + * + * *
    * The revisions of the spec.
    * 
@@ -25,6 +44,8 @@ public interface ListApiSpecRevisionsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index); /** + * + * *
    * The revisions of the spec.
    * 
@@ -33,43 +54,51 @@ public interface ListApiSpecRevisionsResponseOrBuilder extends */ int getApiSpecsCount(); /** + * + * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List + java.util.List getApiSpecsOrBuilderList(); /** + * + * *
    * The revisions of the spec.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token that can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java index edb074e..7fc41ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApiSpecs.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsRequest} */ -public final class ListApiSpecsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiSpecsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) ListApiSpecsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiSpecsRequest.newBuilder() to construct. private ListApiSpecsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiSpecsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListApiSpecsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiSpecsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiSpecsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListApiSpecsRequest( 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,42 @@ private ListApiSpecsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 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,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 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 { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of specs to return.
    * The service may return fewer than this value.
@@ -171,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -189,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -213,16 +249,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -233,12 +268,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +285,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * 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 { @@ -279,6 +317,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +355,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_); @@ -334,21 +371,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other = + (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +408,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApiSpecs.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) com.google.cloud.apigeeregistry.v1.ListApiSpecsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.newBuilder() @@ -492,16 +536,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor; } @java.lang.Override @@ -538,7 +581,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest result = + new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -551,38 +595,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) other); } else { super.mergeFrom(other); return this; @@ -590,7 +635,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -625,7 +671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,19 +684,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 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; @@ -658,21 +709,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 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 { @@ -680,64 +734,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of specs.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * 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 specs to return.
      * The service may return fewer than this value.
@@ -746,6 +815,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +823,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of specs to return.
      * The service may return fewer than this value.
@@ -761,16 +833,19 @@ public int getPageSize() {
      * 
* * 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 specs to return.
      * The service may return fewer than this value.
@@ -779,10 +854,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -790,6 +866,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +876,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -813,6 +891,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -821,15 +901,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -837,6 +916,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -845,20 +926,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -867,15 +950,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListApiSpecs` call.
      * Provide this to retrieve the subsequent page.
@@ -884,16 +970,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -901,19 +987,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; @@ -922,21 +1010,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 { @@ -944,64 +1033,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) private static final com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest(); } @@ -1025,16 +1121,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiSpecsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java index 208db1f..1129db8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecsRequestOrBuilder extends +public interface ListApiSpecsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of specs.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * string parent = 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 specs to return.
    * The service may return fewer than this value.
@@ -38,11 +65,14 @@ public interface ListApiSpecsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListApiSpecsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListApiSpecs` call.
    * Provide this to retrieve the subsequent page.
@@ -63,30 +96,35 @@ public interface ListApiSpecsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java index c48efb6..3b3ae77 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApiSpecs.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsResponse} */ -public final class ListApiSpecsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiSpecsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) ListApiSpecsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiSpecsResponse.newBuilder() to construct. private ListApiSpecsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiSpecsResponse() { apiSpecs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListApiSpecsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiSpecsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiSpecsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListApiSpecsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiSpecs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiSpecs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apiSpecs_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry)); + break; } - apiSpecs_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.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 ListApiSpecsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiSpecs_ = java.util.Collections.unmodifiableList(apiSpecs_); @@ -94,22 +113,27 @@ private ListApiSpecsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); } public static final int API_SPECS_FIELD_NUMBER = 1; private java.util.List apiSpecs_; /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -121,6 +145,8 @@ public java.util.List getApiSpecsLis return apiSpecs_; } /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -128,11 +154,13 @@ public java.util.List getApiSpecsLis * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiSpecsOrBuilderList() { return apiSpecs_; } /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -144,6 +172,8 @@ public int getApiSpecsCount() { return apiSpecs_.size(); } /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { return apiSpecs_.get(index); } /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -162,20 +194,22 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { return apiSpecs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < apiSpecs_.size(); i++) { output.writeMessage(1, apiSpecs_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiSpecs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apiSpecs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiSpecs_.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.cloud.apigeeregistry.v1.ListApiSpecsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other = + (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) obj; - if (!getApiSpecsList() - .equals(other.getApiSpecsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApiSpecsList().equals(other.getApiSpecsList())) 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.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApiSpecs.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiSpecsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) com.google.cloud.apigeeregistry.v1.ListApiSpecsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.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) { getApiSpecsFieldBuilder(); } } + @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.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse result = + new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(this); int from_bitField0_ = bitField0_; if (apiSpecsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse.getDefaultInstance()) + return this; if (apiSpecsBuilder_ == null) { if (!other.apiSpecs_.isEmpty()) { if (apiSpecs_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse apiSpecsBuilder_ = null; apiSpecs_ = other.apiSpecs_; bitField0_ = (bitField0_ & ~0x00000001); - apiSpecsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApiSpecsFieldBuilder() : null; + apiSpecsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApiSpecsFieldBuilder() + : null; } else { apiSpecsBuilder_.addAllMessages(other.apiSpecs_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse) 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 apiSpecs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApiSpecsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apiSpecs_ = new java.util.ArrayList(apiSpecs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + apiSpecsBuilder_; /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -605,6 +659,8 @@ public java.util.List getApiSpecsLis } } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -619,6 +675,8 @@ public int getApiSpecsCount() { } } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -633,14 +691,15 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index) { } } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder setApiSpecs( - int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder setApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -672,6 +733,8 @@ public Builder setApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -692,14 +755,15 @@ public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs( - int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { + public Builder addApiSpecs(int index, com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public Builder addApiSpecs( - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder addApiSpecs(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); apiSpecs_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -749,6 +816,8 @@ public Builder addApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -759,8 +828,7 @@ public Builder addAllApiSpecs( java.lang.Iterable values) { if (apiSpecsBuilder_ == null) { ensureApiSpecsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apiSpecs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiSpecs_); onChanged(); } else { apiSpecsBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllApiSpecs( return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -785,6 +855,8 @@ public Builder clearApiSpecs() { return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -802,39 +874,44 @@ public Builder removeApiSpecs(int index) { return this; } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecsBuilder(int index) { return getApiSpecsFieldBuilder().getBuilder(index); } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index) { if (apiSpecsBuilder_ == null) { - return apiSpecs_.get(index); } else { + return apiSpecs_.get(index); + } else { return apiSpecsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsOrBuilderList() { + public java.util.List + getApiSpecsOrBuilderList() { if (apiSpecsBuilder_ != null) { return apiSpecsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( } } /** + * + * *
      * The specs from the specified publisher.
      * 
@@ -849,42 +928,48 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder() { - return getApiSpecsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + return getApiSpecsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( - int index) { - return getApiSpecsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder(int index) { + return getApiSpecsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance()); } /** + * + * *
      * The specs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - public java.util.List - getApiSpecsBuilderList() { + public java.util.List + getApiSpecsBuilderList() { return getApiSpecsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecsFieldBuilder() { if (apiSpecsBuilder_ == null) { - apiSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - apiSpecs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + apiSpecsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + apiSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); apiSpecs_ = null; } return apiSpecsBuilder_; @@ -892,19 +977,21 @@ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder addApiSpecsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) private static final com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiSpecsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiSpecsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiSpecsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiSpecsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiSpecsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java index 18aafc8..708a4ff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiSpecsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiSpecsResponseOrBuilder extends +public interface ListApiSpecsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiSpecsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List - getApiSpecsList(); + java.util.List getApiSpecsList(); /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -25,6 +44,8 @@ public interface ListApiSpecsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpecs(int index); /** + * + * *
    * The specs from the specified publisher.
    * 
@@ -33,43 +54,51 @@ public interface ListApiSpecsResponseOrBuilder extends */ int getApiSpecsCount(); /** + * + * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - java.util.List + java.util.List getApiSpecsOrBuilderList(); /** + * + * *
    * The specs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1; */ - com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java index 3ca4218..f97dc94 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApiVersions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsRequest} */ -public final class ListApiVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) ListApiVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiVersionsRequest.newBuilder() to construct. private ListApiVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListApiVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListApiVersionsRequest( 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,42 @@ private ListApiVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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 { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return.
    * The service may return fewer than this value.
@@ -171,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -189,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -213,16 +249,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -233,12 +268,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +285,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -279,6 +317,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +355,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_); @@ -334,21 +371,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other = (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other = + (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +408,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApiVersions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) com.google.cloud.apigeeregistry.v1.ListApiVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.class, + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.newBuilder() @@ -492,16 +536,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor; } @java.lang.Override @@ -538,7 +581,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest result = new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(this); + com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest result = + new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -551,38 +595,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -590,7 +635,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -625,7 +671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,19 +684,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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; @@ -658,21 +709,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 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 { @@ -680,64 +734,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of versions.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * 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 versions to return.
      * The service may return fewer than this value.
@@ -746,6 +815,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +823,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return.
      * The service may return fewer than this value.
@@ -761,16 +833,19 @@ public int getPageSize() {
      * 
* * 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.
      * The service may return fewer than this value.
@@ -779,10 +854,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -790,6 +866,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +876,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -813,6 +891,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -821,15 +901,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -837,6 +916,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -845,20 +926,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -867,15 +950,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListApiVersions` call.
      * Provide this to retrieve the subsequent page.
@@ -884,16 +970,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -901,19 +987,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -922,21 +1010,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -944,64 +1033,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) private static final com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest(); } @@ -1025,16 +1121,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java index e6b6283..53290fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiVersionsRequestOrBuilder extends +public interface ListApiVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of versions.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * string parent = 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 versions to return.
    * The service may return fewer than this value.
@@ -38,11 +65,14 @@ public interface ListApiVersionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListApiVersionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListApiVersions` call.
    * Provide this to retrieve the subsequent page.
@@ -63,30 +96,35 @@ public interface ListApiVersionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java index f0138d3..943260b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApiVersions.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsResponse} */ -public final class ListApiVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApiVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) ListApiVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApiVersionsResponse.newBuilder() to construct. private ListApiVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApiVersionsResponse() { apiVersions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListApiVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApiVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApiVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListApiVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apiVersions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apiVersions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apiVersions_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry)); + break; } - apiVersions_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.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 ListApiVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apiVersions_ = java.util.Collections.unmodifiableList(apiVersions_); @@ -94,22 +114,27 @@ private ListApiVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); } public static final int API_VERSIONS_FIELD_NUMBER = 1; private java.util.List apiVersions_; /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -121,6 +146,8 @@ public java.util.List getApiVersi return apiVersions_; } /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -128,11 +155,13 @@ public java.util.List getApiVersi * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApiVersionsOrBuilderList() { return apiVersions_; } /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -144,6 +173,8 @@ public int getApiVersionsCount() { return apiVersions_.size(); } /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { return apiVersions_.get(index); } /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -162,20 +195,22 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder(int index) { return apiVersions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < apiVersions_.size(); i++) { output.writeMessage(1, apiVersions_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apiVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apiVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apiVersions_.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.cloud.apigeeregistry.v1.ListApiVersionsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other = (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other = + (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) obj; - if (!getApiVersionsList() - .equals(other.getApiVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApiVersionsList().equals(other.getApiVersionsList())) 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.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApiVersions.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApiVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) com.google.cloud.apigeeregistry.v1.ListApiVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.class, + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.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) { getApiVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse result = new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(this); + com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse result = + new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(this); int from_bitField0_ = bitField0_; if (apiVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +522,39 @@ public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse.getDefaultInstance()) + return this; if (apiVersionsBuilder_ == null) { if (!other.apiVersions_.isEmpty()) { if (apiVersions_.isEmpty()) { @@ -536,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApiVersionsRespo apiVersionsBuilder_ = null; apiVersions_ = other.apiVersions_; bitField0_ = (bitField0_ & ~0x00000001); - apiVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApiVersionsFieldBuilder() : null; + apiVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApiVersionsFieldBuilder() + : null; } else { apiVersionsBuilder_.addAllMessages(other.apiVersions_); } @@ -567,7 +614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +624,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List apiVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApiVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - apiVersions_ = new java.util.ArrayList(apiVersions_); + apiVersions_ = + new java.util.ArrayList(apiVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionsBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + apiVersionsBuilder_; /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -605,6 +661,8 @@ public java.util.List getApiVersi } } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -619,6 +677,8 @@ public int getApiVersionsCount() { } } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -633,14 +693,15 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index) { } } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public Builder setApiVersions( - int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { + public Builder setApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +715,8 @@ public Builder setApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -672,6 +735,8 @@ public Builder setApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -692,14 +757,15 @@ public Builder addApiVersions(com.google.cloud.apigeeregistry.v1.ApiVersion valu return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public Builder addApiVersions( - int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { + public Builder addApiVersions(int index, com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +779,8 @@ public Builder addApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -731,6 +799,8 @@ public Builder addApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -749,6 +819,8 @@ public Builder addApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -759,8 +831,7 @@ public Builder addAllApiVersions( java.lang.Iterable values) { if (apiVersionsBuilder_ == null) { ensureApiVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apiVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apiVersions_); onChanged(); } else { apiVersionsBuilder_.addAllMessages(values); @@ -768,6 +839,8 @@ public Builder addAllApiVersions( return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -785,6 +858,8 @@ public Builder clearApiVersions() { return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -802,17 +877,20 @@ public Builder removeApiVersions(int index) { return this; } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuilder(int index) { return getApiVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -822,19 +900,22 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionsBuild public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( int index) { if (apiVersionsBuilder_ == null) { - return apiVersions_.get(index); } else { + return apiVersions_.get(index); + } else { return apiVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public java.util.List - getApiVersionsOrBuilderList() { + public java.util.List + getApiVersionsOrBuilderList() { if (apiVersionsBuilder_ != null) { return apiVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +923,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBu } } /** + * + * *
      * The versions from the specified publisher.
      * 
@@ -849,42 +932,48 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBu * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder() { - return getApiVersionsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); + return getApiVersionsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder( - int index) { - return getApiVersionsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuilder(int index) { + return getApiVersionsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance()); } /** + * + * *
      * The versions from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - public java.util.List - getApiVersionsBuilderList() { + public java.util.List + getApiVersionsBuilderList() { return getApiVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionsFieldBuilder() { if (apiVersionsBuilder_ == null) { - apiVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - apiVersions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + apiVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + apiVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); apiVersions_ = null; } return apiVersionsBuilder_; @@ -892,19 +981,21 @@ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder addApiVersionsBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1004,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1027,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) private static final com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse(); } @@ -1016,16 +1115,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApiVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApiVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApiVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApiVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1139,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApiVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java index 9e2e1a9..7340660 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApiVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApiVersionsResponseOrBuilder extends +public interface ListApiVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApiVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - java.util.List - getApiVersionsList(); + java.util.List getApiVersionsList(); /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -25,6 +44,8 @@ public interface ListApiVersionsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersions(int index); /** + * + * *
    * The versions from the specified publisher.
    * 
@@ -33,43 +54,51 @@ public interface ListApiVersionsResponseOrBuilder extends */ int getApiVersionsCount(); /** + * + * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - java.util.List + java.util.List getApiVersionsOrBuilderList(); /** + * + * *
    * The versions from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1; */ - com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java index bacfff4..623fa2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListApis.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisRequest} */ -public final class ListApisRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApisRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApisRequest) ListApisRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApisRequest.newBuilder() to construct. private ListApisRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApisRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListApisRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApisRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApisRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListApisRequest( 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,42 @@ private ListApisRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisRequest.class, com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisRequest.class, + com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -129,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of APIs to return.
    * The service may return fewer than this value.
@@ -171,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -189,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -213,16 +249,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -233,12 +268,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +285,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * 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 { @@ -279,6 +317,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +355,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_); @@ -334,21 +371,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListApisRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApisRequest other = (com.google.cloud.apigeeregistry.v1.ListApisRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListApisRequest other = + (com.google.cloud.apigeeregistry.v1.ListApisRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +408,126 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApisRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListApis.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApisRequest) com.google.cloud.apigeeregistry.v1.ListApisRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisRequest.class, com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisRequest.class, + com.google.cloud.apigeeregistry.v1.ListApisRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApisRequest.newBuilder() @@ -492,16 +535,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor; } @java.lang.Override @@ -538,7 +580,8 @@ public com.google.cloud.apigeeregistry.v1.ListApisRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApisRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApisRequest result = new com.google.cloud.apigeeregistry.v1.ListApisRequest(this); + com.google.cloud.apigeeregistry.v1.ListApisRequest result = + new com.google.cloud.apigeeregistry.v1.ListApisRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -551,38 +594,39 @@ public com.google.cloud.apigeeregistry.v1.ListApisRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApisRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisRequest) other); } else { super.mergeFrom(other); return this; @@ -590,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApisRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -625,7 +670,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApisRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApisRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,19 +683,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -658,21 +708,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -680,64 +733,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of APIs.
      * Format: `projects/*/locations/*`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of APIs to return.
      * The service may return fewer than this value.
@@ -746,6 +814,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +822,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of APIs to return.
      * The service may return fewer than this value.
@@ -761,16 +832,19 @@ public int getPageSize() {
      * 
* * 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 APIs to return.
      * The service may return fewer than this value.
@@ -779,10 +853,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -790,6 +865,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +875,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -813,6 +890,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -821,15 +900,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -837,6 +915,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -845,20 +925,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -867,15 +949,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListApis` call.
      * Provide this to retrieve the subsequent page.
@@ -884,16 +969,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -901,19 +986,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; @@ -922,21 +1009,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 { @@ -944,64 +1032,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApisRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApisRequest) private static final com.google.cloud.apigeeregistry.v1.ListApisRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApisRequest(); } @@ -1025,16 +1120,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApisRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApisRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApisRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApisRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApisRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1144,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApisRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java index 236cced..e85e6a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApisRequestOrBuilder extends +public interface ListApisRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApisRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of APIs.
    * Format: `projects/*/locations/*`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of APIs to return.
    * The service may return fewer than this value.
@@ -38,11 +65,14 @@ public interface ListApisRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListApisRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListApis` call.
    * Provide this to retrieve the subsequent page.
@@ -63,30 +96,35 @@ public interface ListApisRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java index c01abf8..df706c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListApis.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisResponse} */ -public final class ListApisResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListApisResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListApisResponse) ListApisResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListApisResponse.newBuilder() to construct. private ListApisResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListApisResponse() { apis_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListApisResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListApisResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListApisResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListApisResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - apis_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + apis_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + apis_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry)); + break; } - apis_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.Api.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 ListApisResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { apis_ = java.util.Collections.unmodifiableList(apis_); @@ -94,22 +113,27 @@ private ListApisResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisResponse.class, com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisResponse.class, + com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); } public static final int APIS_FIELD_NUMBER = 1; private java.util.List apis_; /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -121,6 +145,8 @@ public java.util.List getApisList() { return apis_; } /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -128,11 +154,13 @@ public java.util.List getApisList() { * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ @java.lang.Override - public java.util.List + public java.util.List getApisOrBuilderList() { return apis_; } /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -144,6 +172,8 @@ public int getApisCount() { return apis_.size(); } /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { return apis_.get(index); } /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -162,20 +194,22 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index) { return apis_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < apis_.size(); i++) { output.writeMessage(1, apis_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < apis_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, apis_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, apis_.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.cloud.apigeeregistry.v1.ListApisResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListApisResponse other = (com.google.cloud.apigeeregistry.v1.ListApisResponse) obj; + com.google.cloud.apigeeregistry.v1.ListApisResponse other = + (com.google.cloud.apigeeregistry.v1.ListApisResponse) obj; - if (!getApisList() - .equals(other.getApisList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getApisList().equals(other.getApisList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,126 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListApisResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListApisResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListApis.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListApisResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListApisResponse) com.google.cloud.apigeeregistry.v1.ListApisResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListApisResponse.class, com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListApisResponse.class, + com.google.cloud.apigeeregistry.v1.ListApisResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListApisResponse.newBuilder() @@ -411,17 +452,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) { getApisFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +478,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor; } @java.lang.Override @@ -458,7 +499,8 @@ public com.google.cloud.apigeeregistry.v1.ListApisResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListApisResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListApisResponse result = new com.google.cloud.apigeeregistry.v1.ListApisResponse(this); + com.google.cloud.apigeeregistry.v1.ListApisResponse result = + new com.google.cloud.apigeeregistry.v1.ListApisResponse(this); int from_bitField0_ = bitField0_; if (apisBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +520,39 @@ public com.google.cloud.apigeeregistry.v1.ListApisResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListApisResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListApisResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListApisResponse.getDefaultInstance()) + return this; if (apisBuilder_ == null) { if (!other.apis_.isEmpty()) { if (apis_.isEmpty()) { @@ -536,9 +580,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListApisResponse oth apisBuilder_ = null; apis_ = other.apis_; bitField0_ = (bitField0_ & ~0x00000001); - apisBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getApisFieldBuilder() : null; + apisBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getApisFieldBuilder() + : null; } else { apisBuilder_.addAllMessages(other.apis_); } @@ -567,7 +612,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListApisResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListApisResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +622,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List apis_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureApisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { apis_ = new java.util.ArrayList(apis_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apisBuilder_; + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + apisBuilder_; /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -605,6 +658,8 @@ public java.util.List getApisList() { } } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -619,6 +674,8 @@ public int getApisCount() { } } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -633,14 +690,15 @@ public com.google.cloud.apigeeregistry.v1.Api getApis(int index) { } } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder setApis( - int index, com.google.cloud.apigeeregistry.v1.Api value) { + public Builder setApis(int index, com.google.cloud.apigeeregistry.v1.Api value) { if (apisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +712,8 @@ public Builder setApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -672,6 +732,8 @@ public Builder setApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -692,14 +754,15 @@ public Builder addApis(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder addApis( - int index, com.google.cloud.apigeeregistry.v1.Api value) { + public Builder addApis(int index, com.google.cloud.apigeeregistry.v1.Api value) { if (apisBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +776,15 @@ public Builder addApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public Builder addApis( - com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder addApis(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apisBuilder_ == null) { ensureApisIsMutable(); apis_.add(builderForValue.build()); @@ -731,6 +795,8 @@ public Builder addApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -749,6 +815,8 @@ public Builder addApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -759,8 +827,7 @@ public Builder addAllApis( java.lang.Iterable values) { if (apisBuilder_ == null) { ensureApisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, apis_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, apis_); onChanged(); } else { apisBuilder_.addAllMessages(values); @@ -768,6 +835,8 @@ public Builder addAllApis( return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -785,6 +854,8 @@ public Builder clearApis() { return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -802,39 +873,44 @@ public Builder removeApis(int index) { return this; } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.Api.Builder getApisBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.Api.Builder getApisBuilder(int index) { return getApisFieldBuilder().getBuilder(index); } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index) { if (apisBuilder_ == null) { - return apis_.get(index); } else { + return apis_.get(index); + } else { return apisBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public java.util.List - getApisOrBuilderList() { + public java.util.List + getApisOrBuilderList() { if (apisBuilder_ != null) { return apisBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +918,8 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( } } /** + * + * *
      * The APIs from the specified publisher.
      * 
@@ -849,42 +927,47 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder() { - return getApisFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); + return getApisFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder( - int index) { - return getApisFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder(int index) { + return getApisFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance()); } /** + * + * *
      * The APIs from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - public java.util.List - getApisBuilderList() { + public java.util.List getApisBuilderList() { return getApisFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApisFieldBuilder() { if (apisBuilder_ == null) { - apisBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - apis_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + apisBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + apis_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); apis_ = null; } return apisBuilder_; @@ -892,19 +975,21 @@ public com.google.cloud.apigeeregistry.v1.Api.Builder addApisBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +998,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1021,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1095,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListApisResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListApisResponse) private static final com.google.cloud.apigeeregistry.v1.ListApisResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListApisResponse(); } @@ -1016,16 +1109,16 @@ public static com.google.cloud.apigeeregistry.v1.ListApisResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListApisResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListApisResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListApisResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListApisResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1133,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListApisResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java index 2d531a5..cff48a2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListApisResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListApisResponseOrBuilder extends +public interface ListApisResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListApisResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - java.util.List - getApisList(); + java.util.List getApisList(); /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -25,6 +44,8 @@ public interface ListApisResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.Api getApis(int index); /** + * + * *
    * The APIs from the specified publisher.
    * 
@@ -33,43 +54,50 @@ public interface ListApisResponseOrBuilder extends */ int getApisCount(); /** + * + * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - java.util.List - getApisOrBuilderList(); + java.util.List getApisOrBuilderList(); /** + * + * *
    * The APIs from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Api apis = 1; */ - com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApisOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java index 481e536..0546c41 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ListArtifacts.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsRequest} */ -public final class ListArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListArtifactsRequest) ListArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListArtifactsRequest.newBuilder() to construct. private ListArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListArtifactsRequest() { parent_ = ""; pageToken_ = ""; @@ -27,16 +45,15 @@ private ListArtifactsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListArtifactsRequest( 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,42 @@ private ListArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 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,30 +156,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 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 { @@ -163,6 +192,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of artifacts to return.
    * The service may return fewer than this value.
@@ -171,6 +202,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -181,6 +213,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -189,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -197,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -213,16 +249,15 @@ public java.lang.String getPageToken() {
    * 
* * 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 { @@ -233,12 +268,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -247,30 +285,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * 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 { @@ -279,6 +317,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -317,8 +355,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_); @@ -334,21 +371,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other = (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other = + (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +408,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ListArtifacts.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListArtifactsRequest) com.google.cloud.apigeeregistry.v1.ListArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.class, + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.newBuilder() @@ -492,16 +536,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +560,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor; } @java.lang.Override @@ -538,7 +581,8 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ListArtifactsRequest result = new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(this); + com.google.cloud.apigeeregistry.v1.ListArtifactsRequest result = + new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -551,38 +595,39 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) other); } else { super.mergeFrom(other); return this; @@ -590,7 +635,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -625,7 +671,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,19 +684,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 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; @@ -658,21 +709,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 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 { @@ -680,64 +734,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent, which owns this collection of artifacts.
      * Format: `{parent}`
      * 
* - * 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 artifacts to return.
      * The service may return fewer than this value.
@@ -746,6 +815,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -753,6 +823,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of artifacts to return.
      * The service may return fewer than this value.
@@ -761,16 +833,19 @@ public int getPageSize() {
      * 
* * 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.
      * The service may return fewer than this value.
@@ -779,10 +854,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -790,6 +866,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -798,13 +876,13 @@ public Builder clearPageSize() {
      * 
* * 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; @@ -813,6 +891,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -821,15 +901,14 @@ public java.lang.String getPageToken() {
      * 
* * 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 { @@ -837,6 +916,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -845,20 +926,22 @@ public java.lang.String getPageToken() {
      * 
* * 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; } /** + * + * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -867,15 +950,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListArtifacts` call.
      * Provide this to retrieve the subsequent page.
@@ -884,16 +970,16 @@ public Builder clearPageToken() {
      * 
* * 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; @@ -901,19 +987,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; @@ -922,21 +1010,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 { @@ -944,64 +1033,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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 that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression that can be used to filter the list. Filters use the Common
      * Expression Language and can refer to all message fields except contents.
      * 
* * 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1011,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListArtifactsRequest) private static final com.google.cloud.apigeeregistry.v1.ListArtifactsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListArtifactsRequest(); } @@ -1025,16 +1121,16 @@ public static com.google.cloud.apigeeregistry.v1.ListArtifactsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java index 111dbbb..eb9fc32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListArtifactsRequestOrBuilder extends +public interface ListArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent, which owns this collection of artifacts.
    * Format: `{parent}`
    * 
* - * string parent = 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 artifacts to return.
    * The service may return fewer than this value.
@@ -38,11 +65,14 @@ public interface ListArtifactsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListArtifactsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListArtifacts` call.
    * Provide this to retrieve the subsequent page.
@@ -63,30 +96,35 @@ public interface ListArtifactsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression that can be used to filter the list. Filters use the Common
    * Expression Language and can refer to all message fields except contents.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java index 49972c4..3413795 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Response message for ListArtifacts.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsResponse} */ -public final class ListArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ListArtifactsResponse) ListArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListArtifactsResponse.newBuilder() to construct. private ListArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListArtifactsResponse() { artifacts_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - artifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + artifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + artifacts_.add( + input.readMessage( + com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry)); + break; } - artifacts_.add( - input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.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 ListArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } 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)) { artifacts_ = java.util.Collections.unmodifiableList(artifacts_); @@ -94,22 +113,27 @@ private ListArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); } public static final int ARTIFACTS_FIELD_NUMBER = 1; private java.util.List artifacts_; /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -121,6 +145,8 @@ public java.util.List getArtifactsL return artifacts_; } /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -128,11 +154,13 @@ public java.util.List getArtifactsL * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getArtifactsOrBuilderList() { return artifacts_; } /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -144,6 +172,8 @@ public int getArtifactsCount() { return artifacts_.size(); } /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { return artifacts_.get(index); } /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -162,20 +194,22 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ @java.lang.Override - public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index) { return artifacts_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +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; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +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 < artifacts_.size(); i++) { output.writeMessage(1, artifacts_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < artifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, artifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, artifacts_.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.cloud.apigeeregistry.v1.ListArtifactsResponse)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other = (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) obj; + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other = + (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) obj; - if (!getArtifactsList() - .equals(other.getArtifactsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getArtifactsList().equals(other.getArtifactsList())) 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.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ListArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for ListArtifacts.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ListArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ListArtifactsResponse) com.google.cloud.apigeeregistry.v1.ListArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.class, + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.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) { getArtifactsFieldBuilder(); } } + @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.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse buildPartial() { - com.google.cloud.apigeeregistry.v1.ListArtifactsResponse result = new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(this); + com.google.cloud.apigeeregistry.v1.ListArtifactsResponse result = + new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(this); int from_bitField0_ = bitField0_; if (artifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsResponse)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsResponse other) { - if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ListArtifactsResponse.getDefaultInstance()) + return this; if (artifactsBuilder_ == null) { if (!other.artifacts_.isEmpty()) { if (artifacts_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ListArtifactsRespons artifactsBuilder_ = null; artifacts_ = other.artifacts_; bitField0_ = (bitField0_ & ~0x00000001); - artifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getArtifactsFieldBuilder() : null; + artifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getArtifactsFieldBuilder() + : null; } else { artifactsBuilder_.addAllMessages(other.artifacts_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ListArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List artifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - artifacts_ = new java.util.ArrayList(artifacts_); + artifacts_ = + new java.util.ArrayList(artifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactsBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + artifactsBuilder_; /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -605,6 +660,8 @@ public java.util.List getArtifactsL } } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -619,6 +676,8 @@ public int getArtifactsCount() { } } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -633,14 +692,15 @@ public com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index) { } } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public Builder setArtifacts( - int index, com.google.cloud.apigeeregistry.v1.Artifact value) { + public Builder setArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +714,8 @@ public Builder setArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -672,6 +734,8 @@ public Builder setArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -692,14 +756,15 @@ public Builder addArtifacts(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public Builder addArtifacts( - int index, com.google.cloud.apigeeregistry.v1.Artifact value) { + public Builder addArtifacts(int index, com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +778,8 @@ public Builder addArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -731,6 +798,8 @@ public Builder addArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -749,6 +818,8 @@ public Builder addArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -759,8 +830,7 @@ public Builder addAllArtifacts( java.lang.Iterable values) { if (artifactsBuilder_ == null) { ensureArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, artifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, artifacts_); onChanged(); } else { artifactsBuilder_.addAllMessages(values); @@ -768,6 +838,8 @@ public Builder addAllArtifacts( return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -785,6 +857,8 @@ public Builder clearArtifacts() { return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -802,39 +876,44 @@ public Builder removeArtifacts(int index) { return this; } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactsBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactsBuilder(int index) { return getArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( - int index) { + public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index) { if (artifactsBuilder_ == null) { - return artifacts_.get(index); } else { + return artifacts_.get(index); + } else { return artifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public java.util.List - getArtifactsOrBuilderList() { + public java.util.List + getArtifactsOrBuilderList() { if (artifactsBuilder_ != null) { return artifactsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +921,8 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilde } } /** + * + * *
      * The artifacts from the specified publisher.
      * 
@@ -849,42 +930,48 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilde * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder() { - return getArtifactsFieldBuilder().addBuilder( - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); + return getArtifactsFieldBuilder() + .addBuilder(com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder( - int index) { - return getArtifactsFieldBuilder().addBuilder( - index, com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); + public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder(int index) { + return getArtifactsFieldBuilder() + .addBuilder(index, com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance()); } /** + * + * *
      * The artifacts from the specified publisher.
      * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - public java.util.List - getArtifactsBuilderList() { + public java.util.List + getArtifactsBuilderList() { return getArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactsFieldBuilder() { if (artifactsBuilder_ == null) { - artifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - artifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + artifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + artifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); artifacts_ = null; } return artifactsBuilder_; @@ -892,19 +979,21 @@ public com.google.cloud.apigeeregistry.v1.Artifact.Builder addArtifactsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1002,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1025,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ListArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ListArtifactsResponse) private static final com.google.cloud.apigeeregistry.v1.ListArtifactsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ListArtifactsResponse(); } @@ -1016,16 +1113,16 @@ public static com.google.cloud.apigeeregistry.v1.ListArtifactsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1137,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ListArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java index 6e15863..e53284e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ListArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ListArtifactsResponseOrBuilder extends +public interface ListArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ListArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - java.util.List - getArtifactsList(); + java.util.List getArtifactsList(); /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -25,6 +44,8 @@ public interface ListArtifactsResponseOrBuilder extends */ com.google.cloud.apigeeregistry.v1.Artifact getArtifacts(int index); /** + * + * *
    * The artifacts from the specified publisher.
    * 
@@ -33,43 +54,51 @@ public interface ListArtifactsResponseOrBuilder extends */ int getArtifactsCount(); /** + * + * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - java.util.List + java.util.List getArtifactsOrBuilderList(); /** + * + * *
    * The artifacts from the specified publisher.
    * 
* * repeated .google.cloud.apigeeregistry.v1.Artifact artifacts = 1; */ - com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder( - int index); + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java index 26d783d..d71e25b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,16 +46,15 @@ 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) @@ -56,68 +73,76 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + 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 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + target_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: { + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - cancellationRequested_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + statusMessage_ = s; + break; + } + case 48: + { + cancellationRequested_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,34 +150,39 @@ 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.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.OperationMetadata.class, com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); + com.google.cloud.apigeeregistry.v1.OperationMetadata.class, + com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -160,11 +190,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ @java.lang.Override @@ -172,6 +205,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -186,11 +221,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -198,11 +236,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -210,6 +251,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -224,11 +267,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ @java.lang.Override @@ -237,29 +283,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -270,11 +316,14 @@ public java.lang.String getTarget() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ @java.lang.Override @@ -283,29 +332,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -316,11 +365,14 @@ public java.lang.String getVerb() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The statusMessage. */ @java.lang.Override @@ -329,29 +381,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -362,6 +414,8 @@ public java.lang.String getStatusMessage() { public static final int CANCELLATION_REQUESTED_FIELD_NUMBER = 6; private boolean cancellationRequested_; /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -370,6 +424,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool cancellation_requested = 6; + * * @return The cancellationRequested. */ @java.lang.Override @@ -380,11 +435,14 @@ public boolean getCancellationRequested() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -393,29 +451,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -424,6 +482,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +494,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -468,12 +526,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -485,8 +541,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (cancellationRequested_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, cancellationRequested_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, cancellationRequested_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -499,33 +554,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.OperationMetadata other = (com.google.cloud.apigeeregistry.v1.OperationMetadata) obj; + com.google.cloud.apigeeregistry.v1.OperationMetadata other = + (com.google.cloud.apigeeregistry.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getCancellationRequested() - != other.getCancellationRequested()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getCancellationRequested() != other.getCancellationRequested()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -552,8 +601,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + CANCELLATION_REQUESTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCancellationRequested()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCancellationRequested()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -562,117 +610,126 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.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.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.OperationMetadata) com.google.cloud.apigeeregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.OperationMetadata.class, com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); + com.google.cloud.apigeeregistry.v1.OperationMetadata.class, + com.google.cloud.apigeeregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.OperationMetadata.newBuilder() @@ -680,16 +737,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -719,9 +775,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto.internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.ProvisioningServiceProto + .internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -740,7 +796,8 @@ public com.google.cloud.apigeeregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.OperationMetadata buildPartial() { - com.google.cloud.apigeeregistry.v1.OperationMetadata result = new com.google.cloud.apigeeregistry.v1.OperationMetadata(this); + com.google.cloud.apigeeregistry.v1.OperationMetadata result = + new com.google.cloud.apigeeregistry.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -764,38 +821,39 @@ public com.google.cloud.apigeeregistry.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.cloud.apigeeregistry.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -803,7 +861,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.OperationMetadata other) { - if (other == com.google.cloud.apigeeregistry.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -848,7 +907,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -860,34 +920,47 @@ public Builder mergeFrom( 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 the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; + * * @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 the operation was created.
      * 
@@ -908,14 +981,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - 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(); @@ -926,6 +1000,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -936,7 +1012,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; } @@ -948,6 +1024,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -966,6 +1044,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -973,11 +1053,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation was created.
      * 
@@ -988,11 +1070,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 the operation was created.
      * 
@@ -1000,14 +1085,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ 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_; @@ -1015,24 +1103,33 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1043,6 +1140,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1063,14 +1162,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1081,6 +1181,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1091,7 +1193,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1103,6 +1205,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1121,6 +1225,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1128,11 +1234,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1143,11 +1251,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1155,14 +1264,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1170,18 +1282,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1190,20 +1304,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1211,54 +1326,61 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { + public Builder setTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** + * + * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1266,18 +1388,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1286,20 +1410,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1307,54 +1432,61 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { + public Builder setVerb(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** + * + * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { + public Builder setVerbBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1362,18 +1494,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1382,20 +1516,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1403,61 +1538,70 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean cancellationRequested_ ; + private boolean cancellationRequested_; /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1466,6 +1610,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool cancellation_requested = 6; + * * @return The cancellationRequested. */ @java.lang.Override @@ -1473,6 +1618,8 @@ public boolean getCancellationRequested() { return cancellationRequested_; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1481,16 +1628,19 @@ public boolean getCancellationRequested() {
      * 
* * bool cancellation_requested = 6; + * * @param value The cancellationRequested to set. * @return This builder for chaining. */ public Builder setCancellationRequested(boolean value) { - + cancellationRequested_ = value; onChanged(); return this; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1499,10 +1649,11 @@ public Builder setCancellationRequested(boolean value) {
      * 
* * bool cancellation_requested = 6; + * * @return This builder for chaining. */ public Builder clearCancellationRequested() { - + cancellationRequested_ = false; onChanged(); return this; @@ -1510,18 +1661,20 @@ public Builder clearCancellationRequested() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1530,20 +1683,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1551,61 +1705,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { + public Builder setApiVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + apiVersion_ = value; onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + apiVersion_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1615,12 +1776,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.OperationMetadata) private static final com.google.cloud.apigeeregistry.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.OperationMetadata(); } @@ -1629,16 +1790,16 @@ public static com.google.cloud.apigeeregistry.v1.OperationMetadata getDefaultIns 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; @@ -1653,6 +1814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java index 6c83927..a26bea3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/provisioning_service.proto package com.google.cloud.apigeeregistry.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,66 +94,83 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -130,27 +179,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool cancellation_requested = 6; + * * @return The cancellationRequested. */ boolean getCancellationRequested(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java new file mode 100644 index 0000000..847df51 --- /dev/null +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ProvisioningServiceProto.java @@ -0,0 +1,210 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/apigeeregistry/v1/provisioning_service.proto + +package com.google.cloud.apigeeregistry.v1; + +public final class ProvisioningServiceProto { + private ProvisioningServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_apigeeregistry_v1_Instance_Config_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_apigeeregistry_v1_Instance_Config_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/cloud/apigeeregistry/v1/provisi" + + "oning_service.proto\022\036google.cloud.apigee" + + "registry.v1\032\034google/api/annotations.prot" + + "o\032\027google/api/client.proto\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032#google/longrunning/operations.pr" + + "oto\032\037google/protobuf/timestamp.proto\"\255\001\n" + + "\025CreateInstanceRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\022?\n\010instance\030" + + "\003 \001(\0132(.google.cloud.apigeeregistry.v1.I" + + "nstanceB\003\340A\002\"U\n\025DeleteInstanceRequest\022<\n" + + "\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.goog" + + "leapis.com/Instance\"R\n\022GetInstanceReques" + + "t\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry." + + "googleapis.com/Instance\"\335\001\n\021OperationMet" + + "adata\022/\n\013create_time\030\001 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004" + + "verb\030\004 \001(\t\022\026\n\016status_message\030\005 \001(\t\022\036\n\026ca" + + "ncellation_requested\030\006 \001(\010\022\023\n\013api_versio" + + "n\030\007 \001(\t\"\302\004\n\010Instance\022\014\n\004name\030\001 \001(\t\0224\n\013cr" + + "eate_time\030\002 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022B\n\005state\030\004 \001(\0162.." + + "google.cloud.apigeeregistry.v1.Instance." + + "StateB\003\340A\003\022\032\n\rstate_message\030\005 \001(\tB\003\340A\003\022D" + + "\n\006config\030\006 \001(\0132/.google.cloud.apigeeregi" + + "stry.v1.Instance.ConfigB\003\340A\002\032;\n\006Config\022\025" + + "\n\010location\030\001 \001(\tB\003\340A\003\022\032\n\rcmek_key_name\030\002" + + " \001(\tB\003\340A\002\"n\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + + "\000\022\014\n\010INACTIVE\020\001\022\014\n\010CREATING\020\002\022\n\n\006ACTIVE\020" + + "\003\022\014\n\010UPDATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020" + + "\006:i\352Af\n&apigeeregistry.googleapis.com/In" + + "stance\022.google.cloud.apige" + + "eregistry.v1.ApiDeployment.AnnotationsEn" + + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:}\352Az\n+apigeeregis" + + "try.googleapis.com/ApiDeployment\022Kprojec" + + "ts/{project}/locations/{location}/apis/{" + + "api}/deployments/{deployment}\"\267\005\n\010Artifa" + + "ct\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\022\021\n\tmime_type\030\004 \001(\t\022\027\n\nsize_bytes\030\005 " + + "\001(\005B\003\340A\003\022\021\n\004hash\030\006 \001(\tB\003\340A\003\022\025\n\010contents\030" + + "\007 \001(\014B\003\340A\004:\332\003\352A\326\003\n&apigeeregistry.google" + + "apis.com/Artifact\022\n\004name\030\001 \001(\tB0\340A\002\372A*\n(" + + "apigeeregistry.googleapis.com/ApiVersion" + + "\"\276\001\n\027CreateApiVersionRequest\022@\n\006parent\030\001" + + " \001(\tB0\340A\002\372A*\022(apigeeregistry.googleapis." + + "com/ApiVersion\022D\n\013api_version\030\002 \001(\0132*.go" + + "ogle.cloud.apigeeregistry.v1.ApiVersionB" + + "\003\340A\002\022\033\n\016api_version_id\030\003 \001(\tB\003\340A\002\"\247\001\n\027Up" + + "dateApiVersionRequest\022D\n\013api_version\030\001 \001" + + "(\0132*.google.cloud.apigeeregistry.v1.ApiV" + + "ersionB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMask\022\025\n\rallow_missing\030\003 " + + "\001(\010\"h\n\027DeleteApiVersionRequest\022>\n\004name\030\001" + + " \001(\tB0\340A\002\372A*\n(apigeeregistry.googleapis." + + "com/ApiVersion\022\r\n\005force\030\002 \001(\010\"\213\001\n\023ListAp" + + "iSpecsRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\022%a" + + "pigeeregistry.googleapis.com/ApiSpec\022\021\n\t" + + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006f" + + "ilter\030\004 \001(\t\"k\n\024ListApiSpecsResponse\022:\n\ta" + + "pi_specs\030\001 \003(\0132\'.google.cloud.apigeeregi" + + "stry.v1.ApiSpec\022\027\n\017next_page_token\030\002 \001(\t" + + "\"P\n\021GetApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002" + + "\372A\'\n%apigeeregistry.googleapis.com/ApiSp" + + "ec\"X\n\031GetApiSpecContentsRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + + ".com/ApiSpec\"\257\001\n\024CreateApiSpecRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\022%apigeeregistry.go" + + "ogleapis.com/ApiSpec\022>\n\010api_spec\030\002 \001(\0132\'" + + ".google.cloud.apigeeregistry.v1.ApiSpecB" + + "\003\340A\002\022\030\n\013api_spec_id\030\003 \001(\tB\003\340A\002\"\236\001\n\024Updat" + + "eApiSpecRequest\022>\n\010api_spec\030\001 \001(\0132\'.goog" + + "le.cloud.apigeeregistry.v1.ApiSpecB\003\340A\002\022" + + "/\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMask\022\025\n\rallow_missing\030\003 \001(\010\"b\n\024Delet" + + "eApiSpecRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%a" + + "pigeeregistry.googleapis.com/ApiSpec\022\r\n\005" + + "force\030\002 \001(\010\"j\n\031TagApiSpecRevisionRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.g" + + "oogleapis.com/ApiSpec\022\020\n\003tag\030\002 \001(\tB\003\340A\002\"" + + "\201\001\n\033ListApiSpecRevisionsRequest\022;\n\004name\030" + + "\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleapis" + + ".com/ApiSpec\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"s\n\034ListApiSpecRevisionsRespo" + + "nse\022:\n\tapi_specs\030\001 \003(\0132\'.google.cloud.ap" + + "igeeregistry.v1.ApiSpec\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"o\n\026RollbackApiSpecRequest\022;\n\004na" + + "me\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googlea" + + "pis.com/ApiSpec\022\030\n\013revision_id\030\002 \001(\tB\003\340A" + + "\002\"[\n\034DeleteApiSpecRevisionRequest\022;\n\004nam" + + "e\030\001 \001(\tB-\340A\002\372A\'\n%apigeeregistry.googleap" + + "is.com/ApiSpec\"\227\001\n\031ListApiDeploymentsReq" + + "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\022+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt" + + "er\030\004 \001(\t\"}\n\032ListApiDeploymentsResponse\022F" + + "\n\017api_deployments\030\001 \003(\0132-.google.cloud.a" + + "pigeeregistry.v1.ApiDeployment\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"\\\n\027GetApiDeploymentReque" + + "st\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry" + + ".googleapis.com/ApiDeployment\"\315\001\n\032Create" + + "ApiDeploymentRequest\022C\n\006parent\030\001 \001(\tB3\340A" + + "\002\372A-\022+apigeeregistry.googleapis.com/ApiD" + + "eployment\022J\n\016api_deployment\030\002 \001(\0132-.goog" + + "le.cloud.apigeeregistry.v1.ApiDeployment" + + "B\003\340A\002\022\036\n\021api_deployment_id\030\003 \001(\tB\003\340A\002\"\260\001" + + "\n\032UpdateApiDeploymentRequest\022J\n\016api_depl" + + "oyment\030\001 \001(\0132-.google.cloud.apigeeregist" + + "ry.v1.ApiDeploymentB\003\340A\002\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\022\025\n\rall" + + "ow_missing\030\003 \001(\010\"n\n\032DeleteApiDeploymentR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\r\n\005for" + + "ce\030\002 \001(\010\"v\n\037TagApiDeploymentRevisionRequ" + + "est\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistr" + + "y.googleapis.com/ApiDeployment\022\020\n\003tag\030\002 " + + "\001(\tB\003\340A\002\"\215\001\n!ListApiDeploymentRevisionsR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregi" + + "stry.googleapis.com/ApiDeployment\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\205\001\n\"Lis" + + "tApiDeploymentRevisionsResponse\022F\n\017api_d" + + "eployments\030\001 \003(\0132-.google.cloud.apigeere" + + "gistry.v1.ApiDeployment\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"{\n\034RollbackApiDeploymentRequest" + + "\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apigeeregistry.g" + + "oogleapis.com/ApiDeployment\022\030\n\013revision_" + + "id\030\002 \001(\tB\003\340A\002\"g\n\"DeleteApiDeploymentRevi" + + "sionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+apige" + + "eregistry.googleapis.com/ApiDeployment\"\215" + + "\001\n\024ListArtifactsRequest\022>\n\006parent\030\001 \001(\tB" + + ".\340A\002\372A(\022&apigeeregistry.googleapis.com/A" + + "rtifact\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"m\n\025ListArtifactsR" + + "esponse\022;\n\tartifacts\030\001 \003(\0132(.google.clou" + + "d.apigeeregistry.v1.Artifact\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"R\n\022GetArtifactRequest\022<\n\004n" + + "ame\030\001 \001(\tB.\340A\002\372A(\n&apigeeregistry.google" + + "apis.com/Artifact\"Z\n\032GetArtifactContents" + + "Request\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeereg" + + "istry.googleapis.com/Artifact\"\262\001\n\025Create" + + "ArtifactRequest\022>\n\006parent\030\001 \001(\tB.\340A\002\372A(\022" + + "&apigeeregistry.googleapis.com/Artifact\022" + + "?\n\010artifact\030\002 \001(\0132(.google.cloud.apigeer" + + "egistry.v1.ArtifactB\003\340A\002\022\030\n\013artifact_id\030" + + "\003 \001(\tB\003\340A\002\"Y\n\026ReplaceArtifactRequest\022?\n\010" + + "artifact\030\001 \001(\0132(.google.cloud.apigeeregi" + + "stry.v1.ArtifactB\003\340A\002\"U\n\025DeleteArtifactR" + + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&apigeeregi" + + "stry.googleapis.com/Artifact2\300E\n\010Registr" + + "y\022\250\001\n\010ListApis\022/.google.cloud.apigeeregi" + + "stry.v1.ListApisRequest\0320.google.cloud.a" + + "pigeeregistry.v1.ListApisResponse\"9\202\323\344\223\002" + + "*\022(/v1/{parent=projects/*/locations/*}/a" + + "pis\332A\006parent\022\225\001\n\006GetApi\022-.google.cloud.a" + + "pigeeregistry.v1.GetApiRequest\032#.google." + + "cloud.apigeeregistry.v1.Api\"7\202\323\344\223\002*\022(/v1" + + "/{name=projects/*/locations/*/apis/*}\332A\004" + + "name\022\255\001\n\tCreateApi\0220.google.cloud.apigee" + + "registry.v1.CreateApiRequest\032#.google.cl" + + "oud.apigeeregistry.v1.Api\"I\202\323\344\223\002/\"(/v1/{" + + "parent=projects/*/locations/*}/apis:\003api" + + "\332A\021parent,api,api_id\022\257\001\n\tUpdateApi\0220.goo" + + "gle.cloud.apigeeregistry.v1.UpdateApiReq" + + "uest\032#.google.cloud.apigeeregistry.v1.Ap" + + "i\"K\202\323\344\223\00232,/v1/{api.name=projects/*/loca" + + "tions/*/apis/*}:\003api\332A\017api,update_mask\022\216" + + "\001\n\tDeleteApi\0220.google.cloud.apigeeregist" + + "ry.v1.DeleteApiRequest\032\026.google.protobuf" + + ".Empty\"7\202\323\344\223\002**(/v1/{name=projects/*/loc" + + "ations/*/apis/*}\332A\004name\022\310\001\n\017ListApiVersi" + + "ons\0226.google.cloud.apigeeregistry.v1.Lis" + + "tApiVersionsRequest\0327.google.cloud.apige" + + "eregistry.v1.ListApiVersionsResponse\"D\202\323" + + "\344\223\0025\0223/v1/{parent=projects/*/locations/*" + + "/apis/*}/versions\332A\006parent\022\265\001\n\rGetApiVer" + + "sion\0224.google.cloud.apigeeregistry.v1.Ge" + + "tApiVersionRequest\032*.google.cloud.apigee" + + "registry.v1.ApiVersion\"B\202\323\344\223\0025\0223/v1/{nam" + + "e=projects/*/locations/*/apis/*/versions" + + "/*}\332A\004name\022\345\001\n\020CreateApiVersion\0227.google" + + ".cloud.apigeeregistry.v1.CreateApiVersio" + + "nRequest\032*.google.cloud.apigeeregistry.v" + + "1.ApiVersion\"l\202\323\344\223\002B\"3/v1/{parent=projec" + + "ts/*/locations/*/apis/*}/versions:\013api_v" + + "ersion\332A!parent,api_version,api_version_" + + "id\022\347\001\n\020UpdateApiVersion\0227.google.cloud.a" + + "pigeeregistry.v1.UpdateApiVersionRequest" + + "\032*.google.cloud.apigeeregistry.v1.ApiVer" + + "sion\"n\202\323\344\223\002N2?/v1/{api_version.name=proj" + + "ects/*/locations/*/apis/*/versions/*}:\013a" + + "pi_version\332A\027api_version,update_mask\022\247\001\n" + + "\020DeleteApiVersion\0227.google.cloud.apigeer" + + "egistry.v1.DeleteApiVersionRequest\032\026.goo" + + "gle.protobuf.Empty\"B\202\323\344\223\0025*3/v1/{name=pr" + + "ojects/*/locations/*/apis/*/versions/*}\332" + + "A\004name\022\307\001\n\014ListApiSpecs\0223.google.cloud.a" + + "pigeeregistry.v1.ListApiSpecsRequest\0324.g" + + "oogle.cloud.apigeeregistry.v1.ListApiSpe" + + "csResponse\"L\202\323\344\223\002=\022;/v1/{parent=projects" + + "/*/locations/*/apis/*/versions/*}/specs\332" + + "A\006parent\022\264\001\n\nGetApiSpec\0221.google.cloud.a" + + "pigeeregistry.v1.GetApiSpecRequest\032\'.goo" + + "gle.cloud.apigeeregistry.v1.ApiSpec\"J\202\323\344" + + "\223\002=\022;/v1/{name=projects/*/locations/*/ap" + + "is/*/versions/*/specs/*}\332A\004name\022\275\001\n\022GetA" + + "piSpecContents\0229.google.cloud.apigeeregi" + + "stry.v1.GetApiSpecContentsRequest\032\024.goog" + + "le.api.HttpBody\"V\202\323\344\223\002I\022G/v1/{name=proje" + + "cts/*/locations/*/apis/*/versions/*/spec" + + "s/*}:getContents\332A\004name\022\333\001\n\rCreateApiSpe" + + "c\0224.google.cloud.apigeeregistry.v1.Creat" + + "eApiSpecRequest\032\'.google.cloud.apigeereg" + + "istry.v1.ApiSpec\"k\202\323\344\223\002G\";/v1/{parent=pr" + + "ojects/*/locations/*/apis/*/versions/*}/" + + "specs:\010api_spec\332A\033parent,api_spec,api_sp" + + "ec_id\022\335\001\n\rUpdateApiSpec\0224.google.cloud.a" + + "pigeeregistry.v1.UpdateApiSpecRequest\032\'." + + "google.cloud.apigeeregistry.v1.ApiSpec\"m" + + "\202\323\344\223\002P2D/v1/{api_spec.name=projects/*/lo" + + "cations/*/apis/*/versions/*/specs/*}:\010ap" + + "i_spec\332A\024api_spec,update_mask\022\251\001\n\rDelete" + + "ApiSpec\0224.google.cloud.apigeeregistry.v1" + + ".DeleteApiSpecRequest\032\026.google.protobuf." + + "Empty\"J\202\323\344\223\002=*;/v1/{name=projects/*/loca" + + "tions/*/apis/*/versions/*/specs/*}\332A\004nam" + + "e\022\314\001\n\022TagApiSpecRevision\0229.google.cloud." + + "apigeeregistry.v1.TagApiSpecRevisionRequ" + + "est\032\'.google.cloud.apigeeregistry.v1.Api" + + "Spec\"R\202\323\344\223\002L\"G/v1/{name=projects/*/locat" + + "ions/*/apis/*/versions/*/specs/*}:tagRev" + + "ision:\001*\022\344\001\n\024ListApiSpecRevisions\022;.goog" + + "le.cloud.apigeeregistry.v1.ListApiSpecRe" + + "visionsRequest\032<.google.cloud.apigeeregi" + + "stry.v1.ListApiSpecRevisionsResponse\"Q\202\323" + + "\344\223\002K\022I/v1/{name=projects/*/locations/*/a" + + "pis/*/versions/*/specs/*}:listRevisions\022" + + "\303\001\n\017RollbackApiSpec\0226.google.cloud.apige" + + "eregistry.v1.RollbackApiSpecRequest\032\'.go" + + "ogle.cloud.apigeeregistry.v1.ApiSpec\"O\202\323" + + "\344\223\002I\"D/v1/{name=projects/*/locations/*/a" + + "pis/*/versions/*/specs/*}:rollback:\001*\022\331\001" + + "\n\025DeleteApiSpecRevision\022<.google.cloud.a" + + "pigeeregistry.v1.DeleteApiSpecRevisionRe" + + "quest\032\'.google.cloud.apigeeregistry.v1.A" + + "piSpec\"Y\202\323\344\223\002L*J/v1/{name=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*}:dele" + + "teRevision\332A\004name\022\324\001\n\022ListApiDeployments" + + "\0229.google.cloud.apigeeregistry.v1.ListAp" + + "iDeploymentsRequest\032:.google.cloud.apige" + + "eregistry.v1.ListApiDeploymentsResponse\"" + + "G\202\323\344\223\0028\0226/v1/{parent=projects/*/location" + + "s/*/apis/*}/deployments\332A\006parent\022\301\001\n\020Get" + + "ApiDeployment\0227.google.cloud.apigeeregis" + + "try.v1.GetApiDeploymentRequest\032-.google." + + "cloud.apigeeregistry.v1.ApiDeployment\"E\202" + + "\323\344\223\0028\0226/v1/{name=projects/*/locations/*/" + + "apis/*/deployments/*}\332A\004name\022\372\001\n\023CreateA" + + "piDeployment\022:.google.cloud.apigeeregist" + + "ry.v1.CreateApiDeploymentRequest\032-.googl" + + "e.cloud.apigeeregistry.v1.ApiDeployment\"" + + "x\202\323\344\223\002H\"6/v1/{parent=projects/*/location" + + "s/*/apis/*}/deployments:\016api_deployment\332" + + "A\'parent,api_deployment,api_deployment_i" + + "d\022\374\001\n\023UpdateApiDeployment\022:.google.cloud" + + ".apigeeregistry.v1.UpdateApiDeploymentRe" + + "quest\032-.google.cloud.apigeeregistry.v1.A" + + "piDeployment\"z\202\323\344\223\002W2E/v1/{api_deploymen" + + "t.name=projects/*/locations/*/apis/*/dep" + + "loyments/*}:\016api_deployment\332A\032api_deploy" + + "ment,update_mask\022\260\001\n\023DeleteApiDeployment" + + "\022:.google.cloud.apigeeregistry.v1.Delete" + + "ApiDeploymentRequest\032\026.google.protobuf.E" + + "mpty\"E\202\323\344\223\0028*6/v1/{name=projects/*/locat" + + "ions/*/apis/*/deployments/*}\332A\004name\022\331\001\n\030" + + "TagApiDeploymentRevision\022?.google.cloud." + + "apigeeregistry.v1.TagApiDeploymentRevisi" + + "onRequest\032-.google.cloud.apigeeregistry." + + "v1.ApiDeployment\"M\202\323\344\223\002G\"B/v1/{name=proj" + + "ects/*/locations/*/apis/*/deployments/*}" + + ":tagRevision:\001*\022\361\001\n\032ListApiDeploymentRev" + + "isions\022A.google.cloud.apigeeregistry.v1." + + "ListApiDeploymentRevisionsRequest\032B.goog" + + "le.cloud.apigeeregistry.v1.ListApiDeploy" + + "mentRevisionsResponse\"L\202\323\344\223\002F\022D/v1/{name" + + "=projects/*/locations/*/apis/*/deploymen" + + "ts/*}:listRevisions\022\320\001\n\025RollbackApiDeplo" + + "yment\022<.google.cloud.apigeeregistry.v1.R" + + "ollbackApiDeploymentRequest\032-.google.clo" + + "ud.apigeeregistry.v1.ApiDeployment\"J\202\323\344\223" + + "\002D\"?/v1/{name=projects/*/locations/*/api" + + "s/*/deployments/*}:rollback:\001*\022\346\001\n\033Delet" + + "eApiDeploymentRevision\022B.google.cloud.ap" + + "igeeregistry.v1.DeleteApiDeploymentRevis" + + "ionRequest\032-.google.cloud.apigeeregistry" + + ".v1.ApiDeployment\"T\202\323\344\223\002G*E/v1/{name=pro" + + "jects/*/locations/*/apis/*/deployments/*" + + "}:deleteRevision\332A\004name\022\312\003\n\rListArtifact" + + "s\0224.google.cloud.apigeeregistry.v1.ListA" + + "rtifactsRequest\0325.google.cloud.apigeereg" + + "istry.v1.ListArtifactsResponse\"\313\002\202\323\344\223\002\273\002" + + "\022-/v1/{parent=projects/*/locations/*}/ar" + + "tifactsZ6\0224/v1/{parent=projects/*/locati" + + "ons/*/apis/*}/artifactsZA\022?/v1/{parent=p" + + "rojects/*/locations/*/apis/*/versions/*}" + + "/artifactsZI\022G/v1/{parent=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*}/arti" + + "factsZD\022B/v1/{parent=projects/*/location" + + "s/*/apis/*/deployments/*}/artifacts\332A\006pa" + + "rent\022\267\003\n\013GetArtifact\0222.google.cloud.apig" + + "eeregistry.v1.GetArtifactRequest\032(.googl" + + "e.cloud.apigeeregistry.v1.Artifact\"\311\002\202\323\344" + + "\223\002\273\002\022-/v1/{name=projects/*/locations/*/a" + + "rtifacts/*}Z6\0224/v1/{name=projects/*/loca" + + "tions/*/apis/*/artifacts/*}ZA\022?/v1/{name" + + "=projects/*/locations/*/apis/*/versions/" + + "*/artifacts/*}ZI\022G/v1/{name=projects/*/l" + + "ocations/*/apis/*/versions/*/specs/*/art" + + "ifacts/*}ZD\022B/v1/{name=projects/*/locati" + + "ons/*/apis/*/deployments/*/artifacts/*}\332" + + "A\004name\022\357\003\n\023GetArtifactContents\022:.google." + + "cloud.apigeeregistry.v1.GetArtifactConte" + + "ntsRequest\032\024.google.api.HttpBody\"\205\003\202\323\344\223\002" + + "\367\002\0229/v1/{name=projects/*/locations/*/art" + + "ifacts/*}:getContentsZB\022@/v1/{name=proje" + + "cts/*/locations/*/apis/*/artifacts/*}:ge" + + "tContentsZM\022K/v1/{name=projects/*/locati" + + "ons/*/apis/*/versions/*/artifacts/*}:get" + + "ContentsZU\022S/v1/{name=projects/*/locatio" + + "ns/*/apis/*/versions/*/specs/*/artifacts" + + "/*}:getContentsZP\022N/v1/{name=projects/*/" + + "locations/*/apis/*/deployments/*/artifac" + + "ts/*}:getContents\332A\004name\022\206\004\n\016CreateArtif" + + "act\0225.google.cloud.apigeeregistry.v1.Cre" + + "ateArtifactRequest\032(.google.cloud.apigee" + + "registry.v1.Artifact\"\222\003\202\323\344\223\002\355\002\"-/v1/{par" + + "ent=projects/*/locations/*}/artifacts:\010a" + + "rtifactZ@\"4/v1/{parent=projects/*/locati" + + "ons/*/apis/*}/artifacts:\010artifactZK\"?/v1" + + "/{parent=projects/*/locations/*/apis/*/v" + + "ersions/*}/artifacts:\010artifactZS\"G/v1/{p" + + "arent=projects/*/locations/*/apis/*/vers" + + "ions/*/specs/*}/artifacts:\010artifactZN\"B/" + + "v1/{parent=projects/*/locations/*/apis/*" + + "/deployments/*}/artifacts:\010artifact\332A\033pa" + + "rent,artifact,artifact_id\022\242\004\n\017ReplaceArt" + + "ifact\0226.google.cloud.apigeeregistry.v1.R" + + "eplaceArtifactRequest\032(.google.cloud.api" + + "geeregistry.v1.Artifact\"\254\003\202\323\344\223\002\232\003\0326/v1/{" + + "artifact.name=projects/*/locations/*/art" + + "ifacts/*}:\010artifactZI\032=/v1/{artifact.nam" + + "e=projects/*/locations/*/apis/*/artifact" + + "s/*}:\010artifactZT\032H/v1/{artifact.name=pro" + + "jects/*/locations/*/apis/*/versions/*/ar" + + "tifacts/*}:\010artifactZ\\\032P/v1/{artifact.na" + + "me=projects/*/locations/*/apis/*/version" + + "s/*/specs/*/artifacts/*}:\010artifactZW\032K/v" + + "1/{artifact.name=projects/*/locations/*/" + + "apis/*/deployments/*/artifacts/*}:\010artif" + + "act\332A\010artifact\022\253\003\n\016DeleteArtifact\0225.goog" + + "le.cloud.apigeeregistry.v1.DeleteArtifac" + + "tRequest\032\026.google.protobuf.Empty\"\311\002\202\323\344\223\002" + + "\273\002*-/v1/{name=projects/*/locations/*/art" + + "ifacts/*}Z6*4/v1/{name=projects/*/locati" + + "ons/*/apis/*/artifacts/*}ZA*?/v1/{name=p" + + "rojects/*/locations/*/apis/*/versions/*/" + + "artifacts/*}ZI*G/v1/{name=projects/*/loc" + + "ations/*/apis/*/versions/*/specs/*/artif" + + "acts/*}ZD*B/v1/{name=projects/*/location" + + "s/*/apis/*/deployments/*/artifacts/*}\332A\004" + + "name\032Q\312A\035apigeeregistry.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latformB\360\001\n\"com.google.cloud.apigeeregis" + + "try.v1B\024RegistryServiceProtoP\001ZLgoogle.g" + + "olang.org/genproto/googleapis/cloud/apig" + + "eeregistry/v1;apigeeregistry\252\002\036Google.Cl" + + "oud.ApigeeRegistry.V1\312\002\036Google\\Cloud\\Api" + + "geeRegistry\\V1\352\002!Google::Cloud::ApigeeRe" + + "gistry::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.api.FieldBehaviorProto.getDescriptor(), + com.google.api.HttpBodyProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApisRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApisResponse_descriptor, + new java.lang.String[] { + "Apis", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiRequest_descriptor, + new java.lang.String[] { + "Parent", "Api", "ApiId", + }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor, + new java.lang.String[] { + "Api", "UpdateMask", "AllowMissing", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiVersionsResponse_descriptor, + new java.lang.String[] { + "ApiVersions", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiVersionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiVersionRequest_descriptor, + new java.lang.String[] { + "Parent", "ApiVersion", "ApiVersionId", + }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor, + new java.lang.String[] { + "ApiVersion", "UpdateMask", "AllowMissing", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiVersionRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecsResponse_descriptor, + new java.lang.String[] { + "ApiSpecs", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiSpecContentsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiSpecRequest_descriptor, + new java.lang.String[] { + "Parent", "ApiSpec", "ApiSpecId", + }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor, + new java.lang.String[] { + "ApiSpec", "UpdateMask", "AllowMissing", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor, + new java.lang.String[] { + "Name", "Tag", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiSpecRevisionsResponse_descriptor, + new java.lang.String[] { + "ApiSpecs", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor, + new java.lang.String[] { + "Name", "RevisionId", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiSpecRevisionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentsResponse_descriptor, + new java.lang.String[] { + "ApiDeployments", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetApiDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateApiDeploymentRequest_descriptor, + new java.lang.String[] { + "Parent", "ApiDeployment", "ApiDeploymentId", + }); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor, + new java.lang.String[] { + "ApiDeployment", "UpdateMask", "AllowMissing", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor, + new java.lang.String[] { + "Name", "Tag", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListApiDeploymentRevisionsResponse_descriptor, + new java.lang.String[] { + "ApiDeployments", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", "RevisionId", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteApiDeploymentRevisionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ListArtifactsResponse_descriptor, + new java.lang.String[] { + "Artifacts", "NextPageToken", + }); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetArtifactRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_GetArtifactContentsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_CreateArtifactRequest_descriptor, + new java.lang.String[] { + "Parent", "Artifact", "ArtifactId", + }); + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor, + new java.lang.String[] { + "Artifact", + }); + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_apigeeregistry_v1_DeleteArtifactRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.HttpBodyProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.apigeeregistry.v1.RegistryModelsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java index a23347f..8207af9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for ReplaceArtifact.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ReplaceArtifactRequest} */ -public final class ReplaceArtifactRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplaceArtifactRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) ReplaceArtifactRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplaceArtifactRequest.newBuilder() to construct. private ReplaceArtifactRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplaceArtifactRequest() { - } + + private ReplaceArtifactRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplaceArtifactRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplaceArtifactRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,29 @@ private ReplaceArtifactRequest( case 0: done = true; break; - case 10: { - com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; - if (artifact_ != null) { - subBuilder = artifact_.toBuilder(); + case 10: + { + com.google.cloud.apigeeregistry.v1.Artifact.Builder subBuilder = null; + if (artifact_ != null) { + subBuilder = artifact_.toBuilder(); + } + artifact_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(artifact_); + artifact_ = subBuilder.buildPartial(); + } + + break; } - artifact_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Artifact.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(artifact_); - artifact_ = subBuilder.buildPartial(); - } - - 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) { @@ -79,36 +98,43 @@ private ReplaceArtifactRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); } public static final int ARTIFACT_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.Artifact artifact_; /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ @java.lang.Override @@ -116,27 +142,38 @@ public boolean hasArtifact() { return artifact_ != null; } /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { - return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { @@ -144,6 +181,7 @@ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +193,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (artifact_ != null) { output.writeMessage(1, getArtifact()); } @@ -170,8 +207,7 @@ public int getSerializedSize() { size = 0; if (artifact_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getArtifact()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getArtifact()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -181,17 +217,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other = (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) obj; + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other = + (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) obj; if (hasArtifact() != other.hasArtifact()) return false; if (hasArtifact()) { - if (!getArtifact() - .equals(other.getArtifact())) return false; + if (!getArtifact().equals(other.getArtifact())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -214,117 +250,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for ReplaceArtifact.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.ReplaceArtifactRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.class, + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.newBuilder() @@ -332,16 +378,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_ReplaceArtifactRequest_descriptor; } @java.lang.Override @@ -376,7 +421,8 @@ public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest result = new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(this); + com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest result = + new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(this); if (artifactBuilder_ == null) { result.artifact_ = artifact_; } else { @@ -390,38 +436,39 @@ public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) other); } else { super.mergeFrom(other); return this; @@ -429,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest.getDefaultInstance()) + return this; if (other.hasArtifact()) { mergeArtifact(other.getArtifact()); } @@ -452,7 +500,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -464,45 +513,64 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.Artifact artifact_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> artifactBuilder_; + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + artifactBuilder_; /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ public boolean hasArtifact() { return artifactBuilder_ != null || artifact_ != null; } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ public com.google.cloud.apigeeregistry.v1.Artifact getArtifact() { if (artifactBuilder_ == null) { - return artifact_ == null ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } else { return artifactBuilder_.getMessage(); } } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { @@ -518,13 +586,17 @@ public Builder setArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { return this; } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setArtifact( com.google.cloud.apigeeregistry.v1.Artifact.Builder builderForValue) { @@ -538,19 +610,25 @@ public Builder setArtifact( return this; } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) { if (artifactBuilder_ == null) { if (artifact_ != null) { artifact_ = - com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Artifact.newBuilder(artifact_) + .mergeFrom(value) + .buildPartial(); } else { artifact_ = value; } @@ -562,13 +640,17 @@ public Builder mergeArtifact(com.google.cloud.apigeeregistry.v1.Artifact value) return this; } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearArtifact() { if (artifactBuilder_ == null) { @@ -582,61 +664,77 @@ public Builder clearArtifact() { return this; } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Artifact.Builder getArtifactBuilder() { - + onChanged(); return getArtifactFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { return artifactBuilder_.getMessageOrBuilder(); } else { - return artifact_ == null ? - com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() : artifact_; + return artifact_ == null + ? com.google.cloud.apigeeregistry.v1.Artifact.getDefaultInstance() + : artifact_; } } /** + * + * *
      * Required. The artifact to replace.
      * The `name` field is used to identify the artifact to replace.
      * Format: `{parent}/artifacts/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder> getArtifactFieldBuilder() { if (artifactBuilder_ == null) { - artifactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Artifact, com.google.cloud.apigeeregistry.v1.Artifact.Builder, com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( - getArtifact(), - getParentForChildren(), - isClean()); + artifactBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Artifact, + com.google.cloud.apigeeregistry.v1.Artifact.Builder, + com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder>( + getArtifact(), getParentForChildren(), isClean()); artifact_ = null; } return artifactBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -646,12 +744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) private static final com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest(); } @@ -660,16 +758,16 @@ public static com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceArtifactRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceArtifactRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceArtifactRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceArtifactRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -684,6 +782,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.ReplaceArtifactRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java index bf7c70f..5d109cd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/ReplaceArtifactRequestOrBuilder.java @@ -1,42 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface ReplaceArtifactRequestOrBuilder extends +public interface ReplaceArtifactRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.ReplaceArtifactRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the artifact field is set. */ boolean hasArtifact(); /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The artifact. */ com.google.cloud.apigeeregistry.v1.Artifact getArtifact(); /** + * + * *
    * Required. The artifact to replace.
    * The `name` field is used to identify the artifact to replace.
    * Format: `{parent}/artifacts/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ArtifactOrBuilder getArtifactOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java index efe3786..fae2716 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for RollbackApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest} */ -public final class RollbackApiDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) RollbackApiDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackApiDeploymentRequest.newBuilder() to construct. private RollbackApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackApiDeploymentRequest() { name_ = ""; revisionId_ = ""; @@ -26,16 +44,15 @@ private RollbackApiDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RollbackApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RollbackApiDeploymentRequest( 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(); - revisionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + revisionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RollbackApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The deployment being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The deployment being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REVISION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object revisionId_; /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
@@ -156,6 +186,7 @@ public java.lang.String getName() {
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ @java.lang.Override @@ -164,14 +195,15 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
@@ -179,16 +211,15 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -197,6 +228,7 @@ public java.lang.String getRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,17 +270,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other = + (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRevisionId() - .equals(other.getRevisionId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRevisionId().equals(other.getRevisionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +301,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for RollbackApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.newBuilder() @@ -389,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,13 +449,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance(); } @@ -431,7 +471,8 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest result = + new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(this); result.name_ = name_; result.revisionId_ = revisionId_; onBuilt(); @@ -442,46 +483,50 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest other) { + if (other + == com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,7 +554,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,18 +568,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The deployment being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,20 +592,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The deployment being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,54 +616,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The deployment being rolled back.
      * 
* - * 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 deployment being rolled back.
      * 
* - * string 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 deployment being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -617,6 +684,8 @@ public Builder setNameBytes( private java.lang.Object revisionId_ = ""; /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
@@ -624,13 +693,13 @@ public Builder setNameBytes(
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -639,6 +708,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
@@ -646,15 +717,14 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -662,6 +732,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
@@ -669,20 +741,22 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
@@ -690,15 +764,18 @@ public Builder setRevisionId(
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same deployment.
@@ -706,23 +783,23 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,30 +809,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest(); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RollbackApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -767,9 +846,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java index a5f0850..eb06016 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiDeploymentRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface RollbackApiDeploymentRequestOrBuilder extends +public interface RollbackApiDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.RollbackApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The deployment being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The deployment being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
@@ -35,10 +62,13 @@ public interface RollbackApiDeploymentRequestOrBuilder extends
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same deployment.
@@ -46,8 +76,8 @@ public interface RollbackApiDeploymentRequestOrBuilder extends
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java index 2300d90..6da2bf0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for RollbackApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiSpecRequest} */ -public final class RollbackApiSpecRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollbackApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) RollbackApiSpecRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollbackApiSpecRequest.newBuilder() to construct. private RollbackApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollbackApiSpecRequest() { name_ = ""; revisionId_ = ""; @@ -26,16 +44,15 @@ private RollbackApiSpecRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollbackApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RollbackApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RollbackApiSpecRequest( 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(); - revisionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + revisionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RollbackApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The spec being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The spec being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REVISION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object revisionId_; /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
@@ -156,6 +186,7 @@ public java.lang.String getName() {
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ @java.lang.Override @@ -164,14 +195,15 @@ public java.lang.String getRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; } } /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
@@ -179,16 +211,15 @@ public java.lang.String getRevisionId() {
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -197,6 +228,7 @@ public java.lang.String getRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,17 +270,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other = + (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRevisionId() - .equals(other.getRevisionId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRevisionId().equals(other.getRevisionId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +301,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for RollbackApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.RollbackApiSpecRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.newBuilder() @@ -389,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_RollbackApiSpecRequest_descriptor; } @java.lang.Override @@ -431,7 +470,8 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest result = + new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(this); result.name_ = name_; result.revisionId_ = revisionId_; onBuilt(); @@ -442,38 +482,39 @@ public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) other); } else { super.mergeFrom(other); return this; @@ -481,7 +522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,7 +551,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,18 +564,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The spec being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,20 +588,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The spec being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,54 +612,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The spec being rolled back.
      * 
* - * 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 spec being rolled back.
      * 
* - * string 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 spec being rolled back.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -617,6 +680,8 @@ public Builder setNameBytes( private java.lang.Object revisionId_ = ""; /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
@@ -624,13 +689,13 @@ public Builder setNameBytes(
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ public java.lang.String getRevisionId() { java.lang.Object ref = revisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); revisionId_ = s; return s; @@ -639,6 +704,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
@@ -646,15 +713,14 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ - public com.google.protobuf.ByteString - getRevisionIdBytes() { + public com.google.protobuf.ByteString getRevisionIdBytes() { java.lang.Object ref = revisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); revisionId_ = b; return b; } else { @@ -662,6 +728,8 @@ public java.lang.String getRevisionId() { } } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
@@ -669,20 +737,22 @@ public java.lang.String getRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionId( - java.lang.String value) { + public Builder setRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revisionId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
@@ -690,15 +760,18 @@ public Builder setRevisionId(
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRevisionId() { - + revisionId_ = getDefaultInstance().getRevisionId(); onChanged(); return this; } /** + * + * *
      * Required. The revision ID to roll back to.
      * It must be a revision of the same spec.
@@ -706,23 +779,23 @@ public Builder clearRevisionId() {
      * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for revisionId to set. * @return This builder for chaining. */ - public Builder setRevisionIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revisionId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest(); } @@ -746,16 +819,16 @@ public static com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RollbackApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RollbackApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +843,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.RollbackApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java index eb92cc2..6a0c9e3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/RollbackApiSpecRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface RollbackApiSpecRequestOrBuilder extends +public interface RollbackApiSpecRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.RollbackApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The spec being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The spec being rolled back.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
@@ -35,10 +62,13 @@ public interface RollbackApiSpecRequestOrBuilder extends
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The revisionId. */ java.lang.String getRevisionId(); /** + * + * *
    * Required. The revision ID to roll back to.
    * It must be a revision of the same spec.
@@ -46,8 +76,8 @@ public interface RollbackApiSpecRequestOrBuilder extends
    * 
* * string revision_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for revisionId. */ - com.google.protobuf.ByteString - getRevisionIdBytes(); + com.google.protobuf.ByteString getRevisionIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java index e4425d5..640ab2d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for TagApiDeploymentRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest} */ -public final class TagApiDeploymentRevisionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TagApiDeploymentRevisionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) TagApiDeploymentRevisionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TagApiDeploymentRevisionRequest.newBuilder() to construct. - private TagApiDeploymentRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TagApiDeploymentRevisionRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TagApiDeploymentRevisionRequest() { name_ = ""; tag_ = ""; @@ -26,16 +45,15 @@ private TagApiDeploymentRevisionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagApiDeploymentRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TagApiDeploymentRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +72,27 @@ private TagApiDeploymentRevisionRequest( 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(); - tag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +100,41 @@ private TagApiDeploymentRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +143,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 deployment to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +178,15 @@ public java.lang.String getName() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ @java.lang.Override @@ -163,30 +195,30 @@ public java.lang.String getTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } } /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tag_ = b; return b; } else { @@ -195,6 +227,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -237,17 +269,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other = (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other = + (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,134 +300,145 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for TagApiDeploymentRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.Builder.class); } - // Construct using com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.newBuilder() + // Construct using + // com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); 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 +450,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiDeploymentRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstanceForType() { - return com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance(); + public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + getDefaultInstanceForType() { + return com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + .getDefaultInstance(); } @java.lang.Override @@ -429,7 +473,8 @@ public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest build( @java.lang.Override public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest result = new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest result = + new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(this); result.name_ = name_; result.tag_ = tag_; onBuilt(); @@ -440,46 +485,51 @@ public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest)other); + return mergeFrom( + (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest other) { + if (other + == com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -507,7 +557,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +571,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +595,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,54 +619,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the deployment to be tagged, including the revision ID.
      * 
* - * 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 deployment to be tagged, including the revision ID.
      * 
* - * string 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 deployment to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -615,19 +687,21 @@ public Builder setNameBytes( private java.lang.Object tag_ = ""; /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; @@ -636,21 +710,22 @@ public java.lang.String getTag() { } } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tag_ = b; return b; } else { @@ -658,64 +733,71 @@ public java.lang.String getTag() { } } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag( - java.lang.String value) { + public Builder setTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes( - com.google.protobuf.ByteString value) { + public Builder setTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,30 +807,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest(); } - public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstance() { + public static com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagApiDeploymentRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TagApiDeploymentRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagApiDeploymentRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TagApiDeploymentRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,9 +844,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java index 639ec26..e9437d6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiDeploymentRevisionRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface TagApiDeploymentRevisionRequestOrBuilder extends +public interface TagApiDeploymentRevisionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.TagApiDeploymentRevisionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the deployment to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java index ef9b4a9..26c03f1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for TagApiSpecRevision.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest} */ -public final class TagApiSpecRevisionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TagApiSpecRevisionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) TagApiSpecRevisionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TagApiSpecRevisionRequest.newBuilder() to construct. private TagApiSpecRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TagApiSpecRevisionRequest() { name_ = ""; tag_ = ""; @@ -26,16 +44,15 @@ private TagApiSpecRevisionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TagApiSpecRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TagApiSpecRevisionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private TagApiSpecRevisionRequest( 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(); - tag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private TagApiSpecRevisionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getName() { public static final int TAG_FIELD_NUMBER = 2; private volatile java.lang.Object tag_; /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getTag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; } } /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tag_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getTag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other = (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) obj; + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other = + (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getTag() - .equals(other.getTag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getTag().equals(other.getTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for TagApiSpecRevision.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.class, + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,13 +447,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_TagApiSpecRevisionRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance(); } @@ -429,7 +469,8 @@ public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest result = new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(this); + com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest result = + new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(this); result.name_ = name_; result.tag_ = tag_; onBuilt(); @@ -440,38 +481,39 @@ public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +521,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -507,7 +551,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +564,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +588,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,54 +612,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the spec to be tagged, including the revision ID.
      * 
* - * 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 spec to be tagged, including the revision ID.
      * 
* - * string 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 spec to be tagged, including the revision ID.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -615,19 +680,21 @@ public Builder setNameBytes( private java.lang.Object tag_ = ""; /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tag_ = s; return s; @@ -636,21 +703,22 @@ public java.lang.String getTag() { } } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ - public com.google.protobuf.ByteString - getTagBytes() { + public com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tag_ = b; return b; } else { @@ -658,64 +726,71 @@ public java.lang.String getTag() { } } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag( - java.lang.String value) { + public Builder setTag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** + * + * *
      * Required. The tag to apply.
      * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
      * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes( - com.google.protobuf.ByteString value) { + public Builder setTagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +800,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) - private static final com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest(); } @@ -739,16 +815,16 @@ public static com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TagApiSpecRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TagApiSpecRevisionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TagApiSpecRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TagApiSpecRevisionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +839,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java index 70227db..f7a56f0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/TagApiSpecRevisionRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface TagApiSpecRevisionRequestOrBuilder extends +public interface TagApiSpecRevisionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.TagApiSpecRevisionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the spec to be tagged, including the revision ID.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tag. */ java.lang.String getTag(); /** + * + * *
    * Required. The tag to apply.
    * The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.
    * 
* * string tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tag. */ - com.google.protobuf.ByteString - getTagBytes(); + com.google.protobuf.ByteString getTagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java index 531de8c..01b4a27 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for UpdateApiDeployment.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest} */ -public final class UpdateApiDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateApiDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) UpdateApiDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateApiDeploymentRequest.newBuilder() to construct. private UpdateApiDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateApiDeploymentRequest() { - } + + private UpdateApiDeploymentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateApiDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateApiDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateApiDeploymentRequest( case 0: done = true; break; - case 10: { - com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; - if (apiDeployment_ != null) { - subBuilder = apiDeployment_.toBuilder(); - } - apiDeployment_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiDeployment_); - apiDeployment_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder subBuilder = null; + if (apiDeployment_ != null) { + subBuilder = apiDeployment_.toBuilder(); + } + apiDeployment_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiDeployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiDeployment_); + apiDeployment_ = 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(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 24: + { + allowMissing_ = input.readBool(); + break; } - - break; - } - case 24: { - - allowMissing_ = input.readBool(); - 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) { @@ -97,36 +118,43 @@ private UpdateApiDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); } public static final int API_DEPLOYMENT_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ @java.lang.Override @@ -134,27 +162,38 @@ public boolean hasApiDeployment() { return apiDeployment_ != null; } /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { - return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { @@ -164,6 +203,8 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -172,6 +213,7 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,6 +221,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -187,6 +231,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -194,6 +239,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -211,12 +258,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALLOW_MISSING_FIELD_NUMBER = 3;
   private boolean allowMissing_;
   /**
+   *
+   *
    * 
    * If set to true, and the deployment is not found, a new deployment will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -225,6 +275,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (apiDeployment_ != null) { output.writeMessage(1, getApiDeployment()); } @@ -257,16 +307,13 @@ public int getSerializedSize() { size = 0; if (apiDeployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getApiDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiDeployment()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,25 +323,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other = + (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) obj; if (hasApiDeployment() != other.hasApiDeployment()) return false; if (hasApiDeployment()) { - if (!getApiDeployment() - .equals(other.getApiDeployment())) return false; + if (!getApiDeployment().equals(other.getApiDeployment())) 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 (getAllowMissing() - != other.getAllowMissing()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,125 +360,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateApiDeployment.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.newBuilder() @@ -441,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,13 +525,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiDeploymentRequest_descriptor; } @java.lang.Override - public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getDefaultInstanceForType() { + public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest + getDefaultInstanceForType() { return com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance(); } @@ -493,7 +547,8 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest result = + new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(this); if (apiDeploymentBuilder_ == null) { result.apiDeployment_ = apiDeployment_; } else { @@ -513,38 +568,39 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +608,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.getDefaultInstance()) + return this; if (other.hasApiDeployment()) { mergeApiDeployment(other.getApiDeployment()); } @@ -581,7 +639,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,45 +653,64 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiDeployment apiDeployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> apiDeploymentBuilder_; + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + apiDeploymentBuilder_; /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ public boolean hasApiDeployment() { return apiDeploymentBuilder_ != null || apiDeployment_ != null; } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ public com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment() { if (apiDeploymentBuilder_ == null) { - return apiDeployment_ == null ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } else { return apiDeploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { @@ -647,13 +726,17 @@ public Builder setApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment return this; } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiDeployment( com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder builderForValue) { @@ -667,19 +750,25 @@ public Builder setApiDeployment( return this; } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployment value) { if (apiDeploymentBuilder_ == null) { if (apiDeployment_ != null) { apiDeployment_ = - com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiDeployment.newBuilder(apiDeployment_) + .mergeFrom(value) + .buildPartial(); } else { apiDeployment_ = value; } @@ -691,13 +780,17 @@ public Builder mergeApiDeployment(com.google.cloud.apigeeregistry.v1.ApiDeployme return this; } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiDeployment() { if (apiDeploymentBuilder_ == null) { @@ -711,54 +804,70 @@ public Builder clearApiDeployment() { return this; } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder getApiDeploymentBuilder() { - + onChanged(); return getApiDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder() { if (apiDeploymentBuilder_ != null) { return apiDeploymentBuilder_.getMessageOrBuilder(); } else { - return apiDeployment_ == null ? - com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() : apiDeployment_; + return apiDeployment_ == null + ? com.google.cloud.apigeeregistry.v1.ApiDeployment.getDefaultInstance() + : apiDeployment_; } } /** + * + * *
      * Required. The deployment to update.
      * The `name` field is used to identify the deployment to update.
      * Format: `projects/*/locations/*/apis/*/deployments/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder> getApiDeploymentFieldBuilder() { if (apiDeploymentBuilder_ == null) { - apiDeploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiDeployment, com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( - getApiDeployment(), - getParentForChildren(), - isClean()); + apiDeploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiDeployment, + com.google.cloud.apigeeregistry.v1.ApiDeployment.Builder, + com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>( + getApiDeployment(), getParentForChildren(), isClean()); apiDeployment_ = null; } return apiDeploymentBuilder_; @@ -766,8 +875,13 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -776,12 +890,15 @@ public com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymen
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -790,16 +907,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -823,6 +945,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -832,8 +956,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();
@@ -844,6 +967,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -857,7 +982,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;
         }
@@ -869,6 +994,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -890,6 +1017,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -900,11 +1029,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -918,11 +1049,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -933,27 +1067,33 @@ 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_;
     }
 
-    private boolean allowMissing_ ;
+    private boolean allowMissing_;
     /**
+     *
+     *
      * 
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -961,39 +1101,45 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the deployment is not found, a new deployment will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1003,12 +1149,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) - private static final com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest DEFAULT_INSTANCE; + private static final com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest(); } @@ -1017,16 +1164,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,6 +1188,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java index b1999f1..4ecbdd8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiDeploymentRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiDeploymentRequestOrBuilder extends +public interface UpdateApiDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiDeployment field is set. */ boolean hasApiDeployment(); /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiDeployment. */ com.google.cloud.apigeeregistry.v1.ApiDeployment getApiDeployment(); /** + * + * *
    * Required. The deployment to update.
    * The `name` field is used to identify the deployment to update.
    * Format: `projects/*/locations/*/apis/*/deployments/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder getApiDeploymentOrBuilder(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -49,10 +81,13 @@ public interface UpdateApiDeploymentRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -61,10 +96,13 @@ public interface UpdateApiDeploymentRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -77,12 +115,15 @@ public interface UpdateApiDeploymentRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * If set to true, and the deployment is not found, a new deployment will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java index 93956dc..87c7fe9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for UpdateApi.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiRequest} */ -public final class UpdateApiRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateApiRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiRequest) UpdateApiRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateApiRequest.newBuilder() to construct. private UpdateApiRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateApiRequest() { - } + + private UpdateApiRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateApiRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateApiRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateApiRequest( case 0: done = true; break; - case 10: { - com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; - if (api_ != null) { - subBuilder = api_.toBuilder(); - } - api_ = input.readMessage(com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(api_); - api_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.apigeeregistry.v1.Api.Builder subBuilder = null; + if (api_ != null) { + subBuilder = api_.toBuilder(); + } + api_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.Api.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(api_); + api_ = 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(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 24: + { + allowMissing_ = input.readBool(); + break; } - - break; - } - case 24: { - - allowMissing_ = input.readBool(); - 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) { @@ -97,36 +118,42 @@ private UpdateApiRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); } public static final int API_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.Api api_; /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ @java.lang.Override @@ -134,13 +161,17 @@ public boolean hasApi() { return api_ != null; } /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ @java.lang.Override @@ -148,13 +179,16 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { @@ -164,6 +198,8 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -172,6 +208,7 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,6 +216,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -187,6 +226,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -194,6 +234,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -211,12 +253,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALLOW_MISSING_FIELD_NUMBER = 3;
   private boolean allowMissing_;
   /**
+   *
+   *
    * 
    * If set to true, and the API is not found, a new API will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -225,6 +270,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (api_ != null) { output.writeMessage(1, getApi()); } @@ -257,16 +302,13 @@ public int getSerializedSize() { size = 0; if (api_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getApi()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApi()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,25 +318,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiRequest other = + (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) obj; if (hasApi() != other.hasApi()) return false; if (hasApi()) { - if (!getApi() - .equals(other.getApi())) return false; + if (!getApi().equals(other.getApi())) 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 (getAllowMissing() - != other.getAllowMissing()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,125 +355,133 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateApi.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiRequest) com.google.cloud.apigeeregistry.v1.UpdateApiRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiRequest.newBuilder() @@ -441,16 +489,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiRequest_descriptor; } @java.lang.Override @@ -493,7 +540,8 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiRequest result = + new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(this); if (apiBuilder_ == null) { result.api_ = api_; } else { @@ -513,38 +561,39 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiRequest.getDefaultInstance()) + return this; if (other.hasApi()) { mergeApi(other.getApi()); } @@ -581,7 +631,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.UpdateApiRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,28 +644,39 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.Api api_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> apiBuilder_; + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + apiBuilder_; /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ public boolean hasApi() { return apiBuilder_ != null || api_ != null; } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ public com.google.cloud.apigeeregistry.v1.Api getApi() { @@ -625,13 +687,16 @@ public com.google.cloud.apigeeregistry.v1.Api getApi() { } } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { @@ -647,16 +712,18 @@ public Builder setApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setApi( - com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { + public Builder setApi(com.google.cloud.apigeeregistry.v1.Api.Builder builderForValue) { if (apiBuilder_ == null) { api_ = builderForValue.build(); onChanged(); @@ -667,19 +734,24 @@ public Builder setApi( return this; } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { if (apiBuilder_ == null) { if (api_ != null) { api_ = - com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.Api.newBuilder(api_) + .mergeFrom(value) + .buildPartial(); } else { api_ = value; } @@ -691,13 +763,16 @@ public Builder mergeApi(com.google.cloud.apigeeregistry.v1.Api value) { return this; } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApi() { if (apiBuilder_ == null) { @@ -711,54 +786,65 @@ public Builder clearApi() { return this; } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.Api.Builder getApiBuilder() { - + onChanged(); return getApiFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { if (apiBuilder_ != null) { return apiBuilder_.getMessageOrBuilder(); } else { - return api_ == null ? - com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; + return api_ == null ? com.google.cloud.apigeeregistry.v1.Api.getDefaultInstance() : api_; } } /** + * + * *
      * Required. The API to update.
      * The `name` field is used to identify the API to update.
      * Format: `projects/*/locations/*/apis/*`
      * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder> + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder> getApiFieldBuilder() { if (apiBuilder_ == null) { - apiBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.Api, com.google.cloud.apigeeregistry.v1.Api.Builder, com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( - getApi(), - getParentForChildren(), - isClean()); + apiBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.Api, + com.google.cloud.apigeeregistry.v1.Api.Builder, + com.google.cloud.apigeeregistry.v1.ApiOrBuilder>( + getApi(), getParentForChildren(), isClean()); api_ = null; } return apiBuilder_; @@ -766,8 +852,13 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() { 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -776,12 +867,15 @@ public com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -790,16 +884,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -823,6 +922,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -832,8 +933,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();
@@ -844,6 +944,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -857,7 +959,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;
         }
@@ -869,6 +971,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -890,6 +994,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -900,11 +1006,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -918,11 +1026,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -933,27 +1044,33 @@ 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_;
     }
 
-    private boolean allowMissing_ ;
+    private boolean allowMissing_;
     /**
+     *
+     *
      * 
      * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -961,39 +1078,45 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the API is not found, a new API will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1003,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiRequest(); } @@ -1017,16 +1140,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,6 +1164,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java index 9a5df21..df444ae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiRequestOrBuilder.java @@ -1,46 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiRequestOrBuilder extends +public interface UpdateApiRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the api field is set. */ boolean hasApi(); /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The api. */ com.google.cloud.apigeeregistry.v1.Api getApi(); /** + * + * *
    * Required. The API to update.
    * The `name` field is used to identify the API to update.
    * Format: `projects/*/locations/*/apis/*`
    * 
* - * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiOrBuilder getApiOrBuilder(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -49,10 +78,13 @@ public interface UpdateApiRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -61,10 +93,13 @@ public interface UpdateApiRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -77,12 +112,15 @@ public interface UpdateApiRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * If set to true, and the API is not found, a new API will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java index cebba06..e0e2ad3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for UpdateApiSpec.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiSpecRequest} */ -public final class UpdateApiSpecRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateApiSpecRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) UpdateApiSpecRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateApiSpecRequest.newBuilder() to construct. private UpdateApiSpecRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateApiSpecRequest() { - } + + private UpdateApiSpecRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateApiSpecRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateApiSpecRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateApiSpecRequest( case 0: done = true; break; - case 10: { - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; - if (apiSpec_ != null) { - subBuilder = apiSpec_.toBuilder(); - } - apiSpec_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiSpec_); - apiSpec_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder subBuilder = null; + if (apiSpec_ != null) { + subBuilder = apiSpec_.toBuilder(); + } + apiSpec_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiSpec_); + apiSpec_ = 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(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 24: + { + allowMissing_ = input.readBool(); + break; } - - break; - } - case 24: { - - allowMissing_ = input.readBool(); - 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) { @@ -97,36 +118,43 @@ private UpdateApiSpecRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); } public static final int API_SPEC_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ @java.lang.Override @@ -134,27 +162,38 @@ public boolean hasApiSpec() { return apiSpec_ != null; } /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { - return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { @@ -164,6 +203,8 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -172,6 +213,7 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,6 +221,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -187,6 +231,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -194,6 +239,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -211,12 +258,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALLOW_MISSING_FIELD_NUMBER = 3;
   private boolean allowMissing_;
   /**
+   *
+   *
    * 
    * If set to true, and the spec is not found, a new spec will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -225,6 +275,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (apiSpec_ != null) { output.writeMessage(1, getApiSpec()); } @@ -257,16 +307,13 @@ public int getSerializedSize() { size = 0; if (apiSpec_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getApiSpec()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiSpec()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,25 +323,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other = + (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) obj; if (hasApiSpec() != other.hasApiSpec()) return false; if (hasApiSpec()) { - if (!getApiSpec() - .equals(other.getApiSpec())) return false; + if (!getApiSpec().equals(other.getApiSpec())) 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 (getAllowMissing() - != other.getAllowMissing()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,125 +360,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateApiSpec.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiSpecRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.newBuilder() @@ -441,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiSpecRequest_descriptor; } @java.lang.Override @@ -493,7 +546,8 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest result = + new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(this); if (apiSpecBuilder_ == null) { result.apiSpec_ = apiSpec_; } else { @@ -513,38 +567,39 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest.getDefaultInstance()) + return this; if (other.hasApiSpec()) { mergeApiSpec(other.getApiSpec()); } @@ -581,7 +637,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,45 +650,64 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiSpec apiSpec_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> apiSpecBuilder_; + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + apiSpecBuilder_; /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ public boolean hasApiSpec() { return apiSpecBuilder_ != null || apiSpec_ != null; } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ public com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec() { if (apiSpecBuilder_ == null) { - return apiSpec_ == null ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } else { return apiSpecBuilder_.getMessage(); } } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { @@ -647,16 +723,19 @@ public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setApiSpec( - com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { + public Builder setApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec.Builder builderForValue) { if (apiSpecBuilder_ == null) { apiSpec_ = builderForValue.build(); onChanged(); @@ -667,19 +746,25 @@ public Builder setApiSpec( return this; } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { if (apiSpecBuilder_ == null) { if (apiSpec_ != null) { apiSpec_ = - com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiSpec.newBuilder(apiSpec_) + .mergeFrom(value) + .buildPartial(); } else { apiSpec_ = value; } @@ -691,13 +776,17 @@ public Builder mergeApiSpec(com.google.cloud.apigeeregistry.v1.ApiSpec value) { return this; } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiSpec() { if (apiSpecBuilder_ == null) { @@ -711,54 +800,70 @@ public Builder clearApiSpec() { return this; } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiSpec.Builder getApiSpecBuilder() { - + onChanged(); return getApiSpecFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() { if (apiSpecBuilder_ != null) { return apiSpecBuilder_.getMessageOrBuilder(); } else { - return apiSpec_ == null ? - com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() : apiSpec_; + return apiSpec_ == null + ? com.google.cloud.apigeeregistry.v1.ApiSpec.getDefaultInstance() + : apiSpec_; } } /** + * + * *
      * Required. The spec to update.
      * The `name` field is used to identify the spec to update.
      * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> getApiSpecFieldBuilder() { if (apiSpecBuilder_ == null) { - apiSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiSpec, com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( - getApiSpec(), - getParentForChildren(), - isClean()); + apiSpecBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiSpec, + com.google.cloud.apigeeregistry.v1.ApiSpec.Builder, + com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>( + getApiSpec(), getParentForChildren(), isClean()); apiSpec_ = null; } return apiSpecBuilder_; @@ -766,8 +871,13 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder() 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -776,12 +886,15 @@ public com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder()
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -790,16 +903,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -823,6 +941,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -832,8 +952,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();
@@ -844,6 +963,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -857,7 +978,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;
         }
@@ -869,6 +990,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -890,6 +1013,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -900,11 +1025,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -918,11 +1045,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -933,27 +1063,33 @@ 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_;
     }
 
-    private boolean allowMissing_ ;
+    private boolean allowMissing_;
     /**
+     *
+     *
      * 
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -961,39 +1097,45 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the spec is not found, a new spec will be created.
      * In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1003,12 +1145,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest(); } @@ -1017,16 +1159,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiSpecRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiSpecRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiSpecRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiSpecRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,6 +1183,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiSpecRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java index 861f3f7..481131c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiSpecRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiSpecRequestOrBuilder extends +public interface UpdateApiSpecRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiSpecRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiSpec field is set. */ boolean hasApiSpec(); /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiSpec. */ com.google.cloud.apigeeregistry.v1.ApiSpec getApiSpec(); /** + * + * *
    * Required. The spec to update.
    * The `name` field is used to identify the spec to update.
    * Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder getApiSpecOrBuilder(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -49,10 +81,13 @@ public interface UpdateApiSpecRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -61,10 +96,13 @@ public interface UpdateApiSpecRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -77,12 +115,15 @@ public interface UpdateApiSpecRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * If set to true, and the spec is not found, a new spec will be created.
    * In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java index 3ce4158..e9ac9bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; /** + * + * *
  * Request message for UpdateApiVersion.
  * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiVersionRequest} */ -public final class UpdateApiVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateApiVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) UpdateApiVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateApiVersionRequest.newBuilder() to construct. private UpdateApiVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateApiVersionRequest() { - } + + private UpdateApiVersionRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateApiVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateApiVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,44 +68,49 @@ private UpdateApiVersionRequest( case 0: done = true; break; - case 10: { - com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; - if (apiVersion_ != null) { - subBuilder = apiVersion_.toBuilder(); - } - apiVersion_ = input.readMessage(com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(apiVersion_); - apiVersion_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder subBuilder = null; + if (apiVersion_ != null) { + subBuilder = apiVersion_.toBuilder(); + } + apiVersion_ = + input.readMessage( + com.google.cloud.apigeeregistry.v1.ApiVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(apiVersion_); + apiVersion_ = 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(); + break; } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + case 24: + { + allowMissing_ = input.readBool(); + break; } - - break; - } - case 24: { - - allowMissing_ = input.readBool(); - 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) { @@ -97,36 +118,43 @@ private UpdateApiVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); } public static final int API_VERSION_FIELD_NUMBER = 1; private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ @java.lang.Override @@ -134,27 +162,38 @@ public boolean hasApiVersion() { return apiVersion_ != null; } /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { - return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { @@ -164,6 +203,8 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -172,6 +213,7 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -179,6 +221,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -187,6 +231,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -194,6 +239,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -211,12 +258,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   public static final int ALLOW_MISSING_FIELD_NUMBER = 3;
   private boolean allowMissing_;
   /**
+   *
+   *
    * 
    * If set to true, and the version is not found, a new version will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -225,6 +275,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (apiVersion_ != null) { output.writeMessage(1, getApiVersion()); } @@ -257,16 +307,13 @@ public int getSerializedSize() { size = 0; if (apiVersion_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getApiVersion()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getApiVersion()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,25 +323,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest)) { return super.equals(obj); } - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other = (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) obj; + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other = + (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) obj; if (hasApiVersion() != other.hasApiVersion()) return false; if (hasApiVersion()) { - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getApiVersion().equals(other.getApiVersion())) 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 (getAllowMissing() - != other.getAllowMissing()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,125 +360,134 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for UpdateApiVersion.
    * 
* * Protobuf type {@code google.cloud.apigeeregistry.v1.UpdateApiVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.class, + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder.class); } // Construct using com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.newBuilder() @@ -441,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -472,9 +525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.apigeeregistry.v1.RegistryServiceProto.internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.apigeeregistry.v1.RegistryServiceProto + .internal_static_google_cloud_apigeeregistry_v1_UpdateApiVersionRequest_descriptor; } @java.lang.Override @@ -493,7 +546,8 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest build() { @java.lang.Override public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest buildPartial() { - com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest result = new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(this); + com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest result = + new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(this); if (apiVersionBuilder_ == null) { result.apiVersion_ = apiVersion_; } else { @@ -513,38 +567,39 @@ public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) { - return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest)other); + return mergeFrom((com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +607,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest other) { - if (other == com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.getDefaultInstance()) + return this; if (other.hasApiVersion()) { mergeApiVersion(other.getApiVersion()); } @@ -581,7 +637,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,45 +650,64 @@ public Builder mergeFrom( private com.google.cloud.apigeeregistry.v1.ApiVersion apiVersion_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> apiVersionBuilder_; + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + apiVersionBuilder_; /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ public boolean hasApiVersion() { return apiVersionBuilder_ != null || apiVersion_ != null; } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ public com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion() { if (apiVersionBuilder_ == null) { - return apiVersion_ == null ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } else { return apiVersionBuilder_.getMessage(); } } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { @@ -647,13 +723,17 @@ public Builder setApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value return this; } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setApiVersion( com.google.cloud.apigeeregistry.v1.ApiVersion.Builder builderForValue) { @@ -667,19 +747,25 @@ public Builder setApiVersion( return this; } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion value) { if (apiVersionBuilder_ == null) { if (apiVersion_ != null) { apiVersion_ = - com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_).mergeFrom(value).buildPartial(); + com.google.cloud.apigeeregistry.v1.ApiVersion.newBuilder(apiVersion_) + .mergeFrom(value) + .buildPartial(); } else { apiVersion_ = value; } @@ -691,13 +777,17 @@ public Builder mergeApiVersion(com.google.cloud.apigeeregistry.v1.ApiVersion val return this; } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearApiVersion() { if (apiVersionBuilder_ == null) { @@ -711,54 +801,70 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiVersion.Builder getApiVersionBuilder() { - + onChanged(); return getApiVersionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder() { if (apiVersionBuilder_ != null) { return apiVersionBuilder_.getMessageOrBuilder(); } else { - return apiVersion_ == null ? - com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() : apiVersion_; + return apiVersion_ == null + ? com.google.cloud.apigeeregistry.v1.ApiVersion.getDefaultInstance() + : apiVersion_; } } /** + * + * *
      * Required. The version to update.
      * The `name` field is used to identify the version to update.
      * Format: `projects/*/locations/*/apis/*/versions/*`
      * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> getApiVersionFieldBuilder() { if (apiVersionBuilder_ == null) { - apiVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.apigeeregistry.v1.ApiVersion, com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( - getApiVersion(), - getParentForChildren(), - isClean()); + apiVersionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.apigeeregistry.v1.ApiVersion, + com.google.cloud.apigeeregistry.v1.ApiVersion.Builder, + com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder>( + getApiVersion(), getParentForChildren(), isClean()); apiVersion_ = null; } return apiVersionBuilder_; @@ -766,8 +872,13 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui 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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -776,12 +887,15 @@ public com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBui
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -790,16 +904,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -823,6 +942,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -832,8 +953,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();
@@ -844,6 +964,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -857,7 +979,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;
         }
@@ -869,6 +991,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -890,6 +1014,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -900,11 +1026,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -918,11 +1046,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 list of fields to be updated. If omitted, all fields are updated that
      * are set in the request message (fields set to default values are ignored).
@@ -933,27 +1064,33 @@ 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_;
     }
 
-    private boolean allowMissing_ ;
+    private boolean allowMissing_;
     /**
+     *
+     *
      * 
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ @java.lang.Override @@ -961,39 +1098,45 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, and the version is not found, a new version will be
      * created. In this situation, `update_mask` is ignored.
      * 
* * bool allow_missing = 3; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = 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); } @@ -1003,12 +1146,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) private static final com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest(); } @@ -1017,16 +1160,16 @@ public static com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateApiVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateApiVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateApiVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateApiVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,6 +1184,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java rename to proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java index 3c6d21a..19fde00 100644 --- a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java +++ b/proto-google-cloud-apigee-registry-v1/src/main/java/com/google/cloud/apigeeregistry/v1/UpdateApiVersionRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/apigeeregistry/v1/registry_service.proto package com.google.cloud.apigeeregistry.v1; -public interface UpdateApiVersionRequestOrBuilder extends +public interface UpdateApiVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.apigeeregistry.v1.UpdateApiVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the apiVersion field is set. */ boolean hasApiVersion(); /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The apiVersion. */ com.google.cloud.apigeeregistry.v1.ApiVersion getApiVersion(); /** + * + * *
    * Required. The version to update.
    * The `name` field is used to identify the version to update.
    * Format: `projects/*/locations/*/apis/*/versions/*`
    * 
* - * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder getApiVersionOrBuilder(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -49,10 +81,13 @@ public interface UpdateApiVersionRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -61,10 +96,13 @@ public interface UpdateApiVersionRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The list of fields to be updated. If omitted, all fields are updated that
    * are set in the request message (fields set to default values are ignored).
@@ -77,12 +115,15 @@ public interface UpdateApiVersionRequestOrBuilder extends
   com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
 
   /**
+   *
+   *
    * 
    * If set to true, and the version is not found, a new version will be
    * created. In this situation, `update_mask` is ignored.
    * 
* * bool allow_missing = 3; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto b/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto rename to proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/provisioning_service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto b/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto rename to proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_models.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto b/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto rename to proto-google-cloud-apigee-registry-v1/src/main/proto/google/cloud/apigeeregistry/v1/registry_service.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceLocationnameInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceInstancename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getinstance/SyncGetInstanceString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningclient/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/provisioningsettings/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/AsyncCreateApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiLocationnameApiString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapi/SyncCreateApiStringApiString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/AsyncCreateApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentApinameApideploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapideployment/SyncCreateApiDeploymentStringApideploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/AsyncCreateApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecApiversionnameApispecString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapispec/SyncCreateApiSpecStringApispecString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/AsyncCreateApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionApinameApiversionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createapiversion/SyncCreateApiVersionStringApiversionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/AsyncCreateArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApideploymentnameArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApinameArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApispecnameArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactApiversionnameArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactLocationnameArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/createartifact/SyncCreateArtifactStringArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/AsyncDeleteApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiApiname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapi/SyncDeleteApiString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/AsyncDeleteApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentApideploymentname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideployment/SyncDeleteApiDeploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/AsyncDeleteApiDeploymentRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionApideploymentname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapideploymentrevision/SyncDeleteApiDeploymentRevisionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/AsyncDeleteApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecApispecname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispec/SyncDeleteApiSpecString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/AsyncDeleteApiSpecRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionApispecname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapispecrevision/SyncDeleteApiSpecRevisionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/AsyncDeleteApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionApiversionname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteapiversion/SyncDeleteApiVersionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/AsyncDeleteArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactArtifactname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/deleteartifact/SyncDeleteArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/AsyncGetApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiApiname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapi/SyncGetApiString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/AsyncGetApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentApideploymentname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapideployment/SyncGetApiDeploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/AsyncGetApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecApispecname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispec/SyncGetApiSpecString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/AsyncGetApiSpecContents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsApispecname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapispeccontents/SyncGetApiSpecContentsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/AsyncGetApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionApiversionname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getapiversion/SyncGetApiVersionString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/AsyncGetArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactArtifactname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifact/SyncGetArtifactString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/AsyncGetArtifactContents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContents.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsArtifactname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getartifactcontents/SyncGetArtifactContentsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/AsyncGetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getiampolicy/SyncGetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/AsyncListApiDeploymentRevisionsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideploymentrevisions/SyncListApiDeploymentRevisions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeployments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/AsyncListApiDeploymentsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeployments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsApiname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapideployments/SyncListApiDeploymentsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/AsyncListApisPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApis.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapis/SyncListApisString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/AsyncListApiSpecRevisionsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecrevisions/SyncListApiSpecRevisions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/AsyncListApiSpecsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsApiversionname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapispecs/SyncListApiSpecsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/AsyncListApiVersionsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsApiname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listapiversions/SyncListApiVersionsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifacts.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/AsyncListArtifactsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifacts.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApideploymentname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApispecname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsApiversionname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listartifacts/SyncListArtifactsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/AsyncReplaceArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/replaceartifact/SyncReplaceArtifactArtifact.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/AsyncRollbackApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapideployment/SyncRollbackApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/AsyncRollbackApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/rollbackapispec/SyncRollbackApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/AsyncSetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/setiampolicy/SyncSetIamPolicy.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/AsyncTagApiDeploymentRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapideploymentrevision/SyncTagApiDeploymentRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/AsyncTagApiSpecRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/tagapispecrevision/SyncTagApiSpecRevision.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/AsyncTestIamPermissions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/testiampermissions/SyncTestIamPermissions.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/AsyncUpdateApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapi/SyncUpdateApiApiFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/AsyncUpdateApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapideployment/SyncUpdateApiDeploymentApideploymentFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/AsyncUpdateApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpec.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapispec/SyncUpdateApiSpecApispecFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/AsyncUpdateApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersion.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registryclient/updateapiversion/SyncUpdateApiVersionApiversionFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/registrysettings/getapi/SyncGetApi.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/provisioningstubsettings/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java b/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java rename to samples/snippets/generated/com/google/cloud/apigeeregistry/v1/stub/registrystubsettings/getapi/SyncGetApi.java